Recent

Author Topic: ComboBox autosizing  (Read 4677 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8764
  • Programming + Glam Metal + Tae Kwon Do = Me
ComboBox autosizing
« on: March 28, 2010, 09:39:11 am »
Shouldn't autosizing ComboBox considers the longest item inside it? If not, then the item (and all other items longer than ComboBox itself) will be cut and it would be difficult for users to see the contents.

zeljko

  • Hero Member
  • *****
  • Posts: 1612
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: ComboBox autosizing
« Reply #1 on: March 28, 2010, 10:06:25 am »
What if item is longer that parent width ?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8764
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: ComboBox autosizing
« Reply #2 on: March 28, 2010, 10:49:47 am »
Hmm... in that case, maximum size of the combobox could be should be used. But if the parent is autosized, it should extend its own size as well.

 

TinyPortal © 2005-2018