Listview alignment fix
Dimitrie O. Paun
dpaun at rogers.com
Mon May 26 17:59:27 CDT 2003
On May 26, 2003 05:48 pm, BiGgUn wrote:
> Fix label alignment with icon bottom.
Sorry, I know I said it's OK in private, but now thinking about it
some more, I realize it's not right. What if the text size changes?
Does this work for you:
Index: dlls/comctl32/listview.c
===================================================================
RCS file: /var/cvs/wine/dlls/comctl32/listview.c,v
retrieving revision 1.353
diff -u -r1.353 listview.c
--- dlls/comctl32/listview.c 22 May 2003 03:37:10 -0000 1.353
+++ dlls/comctl32/listview.c 26 May 2003 22:57:01 -0000
@@ -347,7 +347,7 @@
/* Standard DrawText flags */
#define LV_ML_DT_FLAGS (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS)
#define LV_FL_DT_FLAGS (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_NOCLIP)
-#define LV_SL_DT_FLAGS (DT_TOP | DT_EDITCONTROL | DT_SINGLELINE | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS)
+#define LV_SL_DT_FLAGS (DT_BOTTOM | DT_EDITCONTROL | DT_SINGLELINE | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS)
/* The time in milliseconds to reset the search in the list */
#define KEY_DELAY 450
--
Dimi.
More information about the wine-devel
mailing list