Tab fix and typo

Mike Hearn mike at theoretic.com
Sun Mar 16 16:32:29 CST 2003


ChangeLog:
- Fix the tab height so the labels don't clip, and restore the offset
constant to what it was before
- Fix a typo in imagelist.c

thanks -mike
-------------- next part --------------
Index: dlls/comctl32/imagelist.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/imagelist.c,v
retrieving revision 1.71
diff -u -r1.71 imagelist.c
--- dlls/comctl32/imagelist.c	6 Mar 2003 22:43:43 -0000	1.71
+++ dlls/comctl32/imagelist.c	16 Mar 2003 22:22:03 -0000
@@ -26,7 +26,7 @@
  * This code was audited for completeness against the documented features
  * of Comctl32.dll version 6.0 on Sep. 12, 2002, by Dimitrie O. Paun.
  * 
- * Unless otherwise noted, we belive this code to be complete, as per
+ * Unless otherwise noted, we believe this code to be complete, as per
  * the specification mentioned above.
  * If you discover missing features, or bugs, please note them below.
  * 
Index: dlls/comctl32/tab.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tab.c,v
retrieving revision 1.77
diff -u -r1.77 tab.c
--- dlls/comctl32/tab.c	12 Mar 2003 20:14:12 -0000	1.77
+++ dlls/comctl32/tab.c	16 Mar 2003 22:22:06 -0000
@@ -79,7 +79,7 @@
 /******************************************************************************
  * 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 +1100,7 @@
 
     /* 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;
 


More information about the wine-patches mailing list