summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-05-24 11:52:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-05-24 11:52:21 (GMT)
commitd1c48d32205766e74234558200f846f04f04c2ae (patch)
tree9c3fc3e1e93ad70d8c162bcf4f6ab89b5952caca /generic
parent402e1bab0bba591119bdef3b7dc049611ee2fc3f (diff)
downloadtk-d1c48d32205766e74234558200f846f04f04c2ae.zip
tk-d1c48d32205766e74234558200f846f04f04c2ae.tar.gz
tk-d1c48d32205766e74234558200f846f04f04c2ae.tar.bz2
Fixed bug [53f8fc9c2f] - geometry management of panedwindow panes is incorrect with -stretch
Diffstat (limited to 'generic')
-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);
}
}