jQuery UI Widgets Forums Lists DropDownList Vertical Alignment of DropDownList

This topic contains 2 replies, has 2 voices, and was last updated by  soojung 8 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Vertical Alignment of DropDownList #83319

    soojung
    Participant

    Hello 🙂
    I have question about DropDownList vertical alignment.
    As you can see this photo, my dropdownlist header(?) text placed to bottom. What should I do to make this text place to middle?

    • This topic was modified 8 years, 1 month ago by  soojung.
    • This topic was modified 8 years, 1 month ago by  soojung.
    Vertical Alignment of DropDownList #83333

    Peter Stoev
    Keymaster

    Hi soojung,

    I suggest you to check with the debugger what CSS is added to the Text. My best guess is that some CSS is inherited from your web page, because such alignment is not present on our website DropDownList widgets.

    You can use selectionRenderer callback.
    It’s a callback function which is called when the selected item is rendered in the jqxDropDownList’s content area. By using the selectionRenderer function, you can customize the look of the selected item.

    Here is a demo.

    Best Regards,
    Peter Stoev

    Vertical Alignment of DropDownList #84206

    soojung
    Participant

    Hello Peter

    Yes you are right. My CSS was strange 🙂
    Thank you sooo much

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.