ComboBoxStyle Custom Popup/Drop-down List
-
Hello,
i want to size my drop-down list based on the content width. That means undependen from the component-width. The documentation for the ComboBoxStyle is very thin. Is there any good and working ComboBoxStyle example or is there any way i could solve this?
-
Hi,
If i get you correctly you want the drop down list of combobox to be adjusted as per its contents. If that's the case then it is already working.
For. eg.
@
ComboBox {
model: ["Paris", "Oslo", "New York", "This is a long string", "This is a very very .............. long string"]
style: ComboBoxStyle{}
}
@Here the drop down list width is adjusted as per longest string in the model.
-
Hello p3c0,
thank you for your help, i didn't see that it is already implemented... I have got 2 more questions:
- Is it possible to increase the spacing between the popup/drop-down list items?
- Is it possible to change the font of the popup/drop-down list items?
-
Hi,
I think both are not possbile currently.