diff options
author | fvogel <fvogelnew1@free.fr> | 2018-09-09 16:04:21 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-09-09 16:04:21 (GMT) |
commit | c2935b47f69334f3fba794a401ba3fb591d6f5eb (patch) | |
tree | c13d3a841cedf293d41bd61e76ea2cac4046920d /macosx/tkMacOSXScrlbr.c | |
parent | 1603ff2057cee3dfc3780d2ae7bb40d2f7ca1248 (diff) | |
download | tk-c2935b47f69334f3fba794a401ba3fb591d6f5eb.zip tk-c2935b47f69334f3fba794a401ba3fb591d6f5eb.tar.gz tk-c2935b47f69334f3fba794a401ba3fb591d6f5eb.tar.bz2 |
Fix [719ae3991b]: ttk scrollbar-1.[23] tests fail (regression)
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index a8018a5..cb57a9b 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -282,11 +282,12 @@ TkpComputeScrollbarGeometry( Tk_GeometryRequest(scrollPtr->tkwin, scrollPtr->width + 2*scrollPtr->inset, 2*(scrollPtr->arrowLength + scrollPtr->borderWidth - + scrollPtr->inset)); + + scrollPtr->inset) + metrics.minThumbHeight); } else { Tk_GeometryRequest(scrollPtr->tkwin, 2*(scrollPtr->arrowLength + scrollPtr->borderWidth - + scrollPtr->inset), scrollPtr->width + 2*scrollPtr->inset); + + scrollPtr->inset) + metrics.minThumbHeight, + scrollPtr->width + 2*scrollPtr->inset); } Tk_SetInternalBorder(scrollPtr->tkwin, scrollPtr->inset); } |