Jump to content

[SOLVED] ComboBox Width


photo

Recommended Posts

Hello,

 

i'm programming a settingswindow and got the problem, that i need to add short and long textvalues in my dropdownlist, but then i'm getting a really destroyed layout:

Screen: http://postimage.org/image/vhdqjgmkr/

 

i tried .setWidth(value) .setFontSpace(value) to my combobox, but all with no success, the only thing which helped was to set spaces to the added dropdownvalues at the end, so the combobox was set larger, but, do i really need to count how much spaces i need to add to each values to set all my comboboxes to the same width?

 

Best regards,

Lars

Link to comment
×
×
  • Create New...