summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-05-24 11:52:21 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-05-24 11:52:21 (GMT)
commit5a69a6ae109ece6ba215d24e3b0d0f1c8671a1dd (patch)
tree744d26439f3f21b836f73484877e627a46eb3040 /generic/tkPanedWindow.c
parentd63e3c7080ae7ed2b97e2cb382adb0a653d0ed63 (diff)
downloadtk-5a69a6ae109ece6ba215d24e3b0d0f1c8671a1dd.zip
tk-5a69a6ae109ece6ba215d24e3b0d0f1c8671a1dd.tar.gz
tk-5a69a6ae109ece6ba215d24e3b0d0f1c8671a1dd.tar.bz2
Fixed bug [53f8fc9c2f] - geometry management of panedwindow panes is incorrect with -stretch
Diffstat (limited to 'generic/tkPanedWindow.c')
-rw-r--r--generic/tkPanedWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index cf3611f..3ae473a 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -2546,7 +2546,7 @@ MoveSash(
slavePtr->paneWidth = slavePtr->width = slavePtr->sashx
- sashOffset - slavePtr->x - (2 * slavePtr->padx);
} else {
- slavePtr->paneWidth = slavePtr->height = slavePtr->sashy
+ slavePtr->paneHeight = slavePtr->height = slavePtr->sashy
- sashOffset - slavePtr->y - (2 * slavePtr->pady);
}
}