When one of the values of a combobox contains a long string, not only the horizontal, but also the vertical scrollbar appears (even when there are only a few entries). It seems the window height is always [nr of entries]-1 in that case.
Example:
ComboBox .cb -textvariable v -values {a b somelooooooooooooooooooooooooongstring c d}
pack .cb
and click on the arrow button.
The attached patch solves this.
patch for BWidget 1.8
Accepted, commited in cvs.
Koen, do you have any insight of purpose the -managed option of ScrolledWindow ?
Could you write a text for the man page ?
Thank you,
Harald
As found in the ChangeLog:
-managed option: if true, scrollbar are managed during creation,
so their size are included in the requested size of the
ScrolledWindow. If false, they are not.
Thank you, doc changed