Fix the tab height so the labels don't clip, and restore the offset

constant to what it was before.
This commit is contained in:
Mike Hearn 2003-03-17 04:43:26 +00:00 committed by Alexandre Julliard
parent 22813d4634
commit c7b1874b54
1 changed files with 2 additions and 2 deletions

View File

@ -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;