I used a smart-drop-down-list.
I can control quite well the size of the component, however, when it opens the list of selectable items ic item is too large and it takes more space then needed.
I saw it creates a smart-list-box but I’m not able to control the size of the popup and of each element.
Tks
Hi tullio0106,
You can use a CSS variable for that purpose.
Example:
smart-drop-down-list {
min-height: 35px;
height: auto;
width: 300px;
–smart-drop-down-list-drop-down-height: 100px;
}
The –smart-drop-down-list-drop-down-height determines the height of the DropDownList’s dropdown.
Best regards,
Peter Stoev
Smart UI Team https://www.htmlelements.com/