Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #102258
    tullio0106
    Member

    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

    #102270
    admin
    Keymaster

    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/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.