bwidget

How to set the maximum size of BWidget's ScrolledWindow?

依然范特西╮ 提交于 2019-12-25 06:47:47
问题 I am using BWidget 's ScrolledWindow in a code like this: toplevel .top set w [ScrolledWindow .top.scrolledWindow] set f [ScrollableFrame $w.scrollableFrame -constrainedwidth true] $w setwidget $f set a [$f getframe] # here goes some stuff in $a So I get a window with vertical scrollbar. When increasing the height of .top , after some moment all the content in $a becomes visible and the scrollbar disappears as it is not needed anymore. How can I forbid further increasing the height of .top ?