From 5a69a6ae109ece6ba215d24e3b0d0f1c8671a1dd Mon Sep 17 00:00:00 2001 From: "fvogelnew1@free.fr" Date: Sun, 24 May 2015 11:52:21 +0000 Subject: Fixed bug [53f8fc9c2f] - geometry management of panedwindow panes is incorrect with -stretch --- generic/tkPanedWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v0.12