Title: Seperator in combobox Post by: Snorri B. on May 07, 2015, 12:45:59 pm Hi.
When creating a combobox it could be useful to put a separator between some items (a horizontal line). Has this been discussed? I don't believe it is possble now, is it? Regs, -S Title: Re: Seperator in combobox Post by: Snorri B. on May 07, 2015, 12:58:15 pm Better still: Let the combobox have the same features as Topmenu. That would be awsome.
Title: Re: Seperator in combobox Post by: Bernard M. on May 11, 2015, 10:17:04 am Hi Snorri,
This hasn't been asked before. So I registered it as new feature request FGL-4028 ("Be able to set separators between COMBOBOX items"). Could you please elaborated on your last comment? What other TopMenu features would you have besides separators? Regards, Bernard Title: Re: Seperator in combobox Post by: Snorri B. on May 11, 2015, 10:55:18 am Hi Bernard and thanks.
Topmenu can have seperators, you can have an image, and you can apply styles. So it would be nice to be able to use these attributes on items in Combobox. Regs, -Snorri Title: Re: Seperator in combobox Post by: Bernard M. on May 11, 2015, 11:28:54 am Snorri,
OK, I've updated the feature request according to your last comment. Regards, Bernard Title: Re: Seperator in combobox Post by: Reuben B. on May 12, 2015, 01:01:53 am <TIP> A quick sanity check on possible UI features is to search available Qt (GDC) and HTML (GWC) documentation and see if what you propose is possible. So for something like this, these links ... http://doc.qt.io/qt-5/qcombobox.html#insertSeparator and http://jsfiddle.net/JFDgH/2/ ... suggests that the concept of a ComboBox separator is possible for both GDC/GWC. There is more than it to that (AUI Tree, FGL syntax changes - ui.ComboBox.addSeparator()?, QA, documentation etc) but doing something like that gives you a rough idea if something is possible and may even allow you to implement in GWC via snippet changes </TIP> |