From c7b1874b54e595aa7a5a38d62d88e4cf7dd1bd40 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 17 Mar 2003 04:43:26 +0000 Subject: [PATCH] Fix the tab height so the labels don't clip, and restore the offset constant to what it was before. --- dlls/comctl32/tab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 9113510a0b8..e24ca258d05 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -79,7 +79,7 @@ typedef struct /****************************************************************************** * Positioning constants */ -#define SELECTED_TAB_OFFSET 1 +#define SELECTED_TAB_OFFSET 2 #define HORIZONTAL_ITEM_PADDING 6 #define VERTICAL_ITEM_PADDING 3 #define ROUND_CORNER_SIZE 2 @@ -1099,7 +1099,7 @@ static void TAB_SetItemBounds (HWND hwnd) /* Take the highest between font or icon */ if (fontMetrics.tmHeight > icon_height) - item_height = fontMetrics.tmHeight; + item_height = fontMetrics.tmHeight + 2; else item_height = icon_height;