summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.c
diff options
context:
space:
mode:
authorcsaba <csaba>2023-11-09 12:42:45 (GMT)
committercsaba <csaba>2023-11-09 12:42:45 (GMT)
commit0f9d84dc207433e3ad8b0cd31781441fb4335872 (patch)
tree2d44ce0933f7c367d9bed524b174cc48f27294ec /win/ttkWinXPTheme.c
parent0387ee30db92a410d55a0649267445c5e6f2d5bf (diff)
downloadtk-0f9d84dc207433e3ad8b0cd31781441fb4335872.zip
tk-0f9d84dc207433e3ad8b0cd31781441fb4335872.tar.gz
tk-0f9d84dc207433e3ad8b0cd31781441fb4335872.tar.bz2
A few more adjustments, mainly for the Windows themes.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r--win/ttkWinXPTheme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 14f62bf..75866ce 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -770,7 +770,7 @@ static void TabElementDraw(
int stateId = Ttk_StateTableLookup(elementData->info->statemap, state);
/*
- * Correct the coordinates of b if needed
+ * Correct the members of b if needed
*/
switch (nbTabsStickBit) {
default:
@@ -780,10 +780,10 @@ static void TabElementDraw(
b.y -= 4;
break;
case TTK_STICK_E:
- b.x += 3;
+ b.width += 3;
break;
case TTK_STICK_W:
- b.x -= 5;
+ b.x -= 5; b.width += 5;
break;
}