You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
I want to change the size of the dropdown of an Autocomplete combobox. I tried visibleRowCount, but it doesn't work with autocomplete. The list always shows 10(?) Entries. When I remove the autocomplete part, the drop down is small.
Here is my code:
combobox(controller.model.Name, values = nameList) {
visibleRowCount = 5 // not working for autocomplete in V1.7.16
makeAutocompletable(automaticPopupWidth = false) {
nameList.filter { current -> converter.toString(current).startsWith(it, true) }
}
I don't have a big list, and even typing one letter only has like 1-3 entries. So I wanted to reduce size of the popup. It is even more annoying, when it pops above the box.
Opening with visibleRowCount would be nice. Even better would be a smaller box if the first letter has fewer matches than visibleRowCount (something like listboxRowCount = min(visibleRowCount, first-letter-matches.count)).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to change the size of the dropdown of an Autocomplete combobox. I tried visibleRowCount, but it doesn't work with autocomplete. The list always shows 10(?) Entries. When I remove the autocomplete part, the drop down is small.
Here is my code:
I don't have a big list, and even typing one letter only has like 1-3 entries. So I wanted to reduce size of the popup. It is even more annoying, when it pops above the box.
Opening with visibleRowCount would be nice. Even better would be a smaller box if the first letter has fewer matches than visibleRowCount (something like listboxRowCount = min(visibleRowCount, first-letter-matches.count)).
The text was updated successfully, but these errors were encountered: