From 36d0e2ba63f3af8ecc1e6799b60a4b20f7ceb9b1 Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Fri, 6 Jun 2003 18:13:47 +0000 Subject: [PATCH] Align the text vertically in single line labels (spotted by BiGgUn). --- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index a797fee9ffb..27230cfefde 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -346,7 +346,7 @@ typedef struct tagLISTVIEW_INFO /* 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_VCENTER | 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