Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Seperator in combobox  (Read 13051 times)
Snorri B.
Posts: 104


« 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
Snorri B.
Posts: 104


« Reply #1 on: May 07, 2015, 12:58:15 pm »

Better still: Let the combobox have the same features as Topmenu. That would be awsome.
Bernard M.
Four Js
Posts: 45


« Reply #2 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
Snorri B.
Posts: 104


« Reply #3 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
Bernard M.
Four Js
Posts: 45


« Reply #4 on: May 11, 2015, 11:28:54 am »

Snorri,

OK, I've updated the feature request according to your last comment.

Regards,
Bernard
Reuben B.
Four Js
Posts: 1119


« Reply #5 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>

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines