[fxruby-users] FXListBox size behavior?

David Peoples davidp at touringcyclist.com
Wed Mar 23 23:30:37 EST 2005

Jeroen van der Zijp wrote:
> On Wednesday 23 March 2005 04:32 pm, David Peoples wrote:
>>The default behavior of FXListBox seems to be to grow and shrink in 
>>width depending on the length of the selected entry in the list. This is 
>>a problem when the list contains items of varying width, because if a 
>>short item is picked then the longer entries are obscured in the 
>>drop-down list.


> I would suggest, for now, hard-wire the size of the FXListBox to the desired 
> width, with the LAYOUT_FIX_WIDTH flag.  Then the parent widget will ignore
> the value of getDefaultWidth() and just give it the right size.
> Thanks for the bug report,
> 					Jeroen

OK, that work-around works for me. Thanks.


David Peoples  davidp at touringcyclist.com  http://www.touringcyclist.com
The Touring Cyclist, 11816 St. Charles Rock Road, Bridgeton MO 63044
tel: 314-739-4648  fax: 314-739-4972

More information about the fxruby-users mailing list