Skip to content
Snippets Groups Projects
Commit c7b1874b authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard
Browse files

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

constant to what it was before.
parent 22813d46
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment