[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: agryn  XML
Profile for agryn -> Messages posted by agryn [1]
Author Message
Hi,

Two questions regarding combobox default width:

1. For other controls like field or checkbox the text in the property "labeltext" influences the initial width of the control ensuring that the label text is fully visible. It seems not to be the case for combobox. I have to specify some width explicitly. In some cases (e.g. if label text is translatable) it can be an issue. Is it possible to achieve the same behavior as with checkbox or textfield?

2. Is it possible to set somehow the default width of the combobox to be:
max(<width of labeltext>, <width of longest item>) (of course only for the list of items known at layout creation time)?

Best Regards,
Andriy
 
Profile for agryn -> Messages posted by agryn [1]
Go to:   
Powered by JForum 2.1.6 © JForum Team