Imported Tk 8.6.9
This commit is contained in:
@@ -289,6 +289,11 @@ TkpComputeScrollbarGeometry(
|
||||
scrollPtr->inset = scrollPtr->highlightWidth + scrollPtr->borderWidth;
|
||||
width = (scrollPtr->vertical) ? Tk_Width(scrollPtr->tkwin)
|
||||
: Tk_Height(scrollPtr->tkwin);
|
||||
|
||||
/*
|
||||
* Next line assumes that the arrow area is a square.
|
||||
*/
|
||||
|
||||
scrollPtr->arrowLength = width - 2*scrollPtr->inset + 1;
|
||||
fieldLength = (scrollPtr->vertical ? Tk_Height(scrollPtr->tkwin)
|
||||
: Tk_Width(scrollPtr->tkwin))
|
||||
|
||||
Reference in New Issue
Block a user