jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList Drop down list text alignment

This topic contains 1 reply, has 2 voices, and was last updated by  Yavor Dashev 3 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Drop down list text alignment #115145

    damerval
    Participant

    Hi, I was wondering if there was any plan to fix the non-working text alignments for the drop-down list widget. As it is the demo examples are broken as well as the jsFiddle (http://jsfiddle.net/jqwidgets/8GGjT/) in Chrome, Edge and Opera latest versions (I didn’t have any other browsers to test with).
    Thanks,
    Philippe Damerval

    Drop down list text alignment #115161

    Yavor Dashev
    Participant

    Hi Phillipe Damerval,

    I have tested the jqxDropDownList with the latest version of jQwidgets with several browser including Firefox and I did not found any problems.

    If you want to have the DropDownList to be centered using the fiddle you shared you can just remove dropDownHorizontalAlignment and dropDownWidth
    properties and it will automatically be set to the width of the widget and it will be centered.

    A quick code snippet:

      $("#jqxDropDownList").jqxDropDownList({
          source: source,
          theme: 'energyblue'
      });

    Please, do not hesitate to contact us if you have any additional questions.

    Best Regards,
    Yavor Dashev
    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.