summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-05-24 12:14:20 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-05-24 12:14:20 (GMT)
commitf0832df3242ec7ddd72855169b20e27bd7a38cb3 (patch)
tree042982122c207eff3633ff5aa9644d3fb8766cb3
parentb88c04907a34f7ca20777929634bcc40370d95ee (diff)
parentd1c48d32205766e74234558200f846f04f04c2ae (diff)
downloadtk-f0832df3242ec7ddd72855169b20e27bd7a38cb3.zip
tk-f0832df3242ec7ddd72855169b20e27bd7a38cb3.tar.gz
tk-f0832df3242ec7ddd72855169b20e27bd7a38cb3.tar.bz2
Fixed bug [53f8fc9c2f] - geometry management of panedwindow panes is incorrect with -stretch
-rw-r--r--generic/tkPanedWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index 733610e..c49595b 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -2553,7 +2553,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);
}
}