diff options
author | das <das> | 2007-10-17 18:21:24 (GMT) |
---|---|---|
committer | das <das> | 2007-10-17 18:21:24 (GMT) |
commit | 38df38008623d090e76509330c7b43404f1da088 (patch) | |
tree | e6c124bbc1ff2a3c6ddc73bc1fe421e44cedd516 /macosx/ttkMacOSXTheme.c | |
parent | 176e3f251042bfd66d433c9cb6bb776b23c716a4 (diff) | |
download | tk-38df38008623d090e76509330c7b43404f1da088.zip tk-38df38008623d090e76509330c7b43404f1da088.tar.gz tk-38df38008623d090e76509330c7b43404f1da088.tar.bz2 |
* macosx/ttkMacOSXTheme.c: adjust button and separator geometry.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 6 |
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( |