summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/ttkMacOSXTheme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 6294a5a..a65fff0 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -27,7 +27,7 @@
* top-level window, not to the Tk_Window. BoxToRect()
* accounts for this.
*
- * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.9 2007/10/12 03:14:49 das Exp $
+ * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.10 2007/10/17 18:21:24 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -198,7 +198,7 @@ static void ButtonElementGeometry(
paddingPtr->left = contentsRect.left;
paddingPtr->top = contentsRect.top;
paddingPtr->bottom = scratchSize - contentsRect.bottom;
- paddingPtr->right = scratchSize - contentsRect.right;
+ paddingPtr->right = scratchSize - contentsRect.right + 1;
/* Now add a little extra padding to account for drop shadows.
* @@@ SHOULD: call GetThemeButtonBackgroundBounds() instead.
@@ -681,7 +681,7 @@ static void SeparatorElementSize(
void *clientData, void *elementRecord, Tk_Window tkwin,
int *widthPtr, int *heightPtr, Ttk_Padding *paddingPtr)
{
- *widthPtr = *heightPtr = 2;
+ *widthPtr = *heightPtr = 1;
}
static void SeparatorElementDraw(