jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList Bug in showing Flags

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 8 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Bug in showing Flags #84265

    Tahir Nazir
    Participant

    I have found following problem and may be it is a bug. http://jsfiddle.net/hYM69/320/

    The flags won’t show in the DropDownList. What is the reason ?

    Bug in showing Flags #84278

    Dimitar
    Participant

    Hello Tahir Nazir,

    Please use img tags (instead of spans with background-image set), e.g.:
    { html: "<div language=de class='login-lang-container' ><img src='https://vhp.vepro.com/video/m/icons/flags/german.svg' class='login-lang-flags'/><span class='login-lang-name'>Deutsch</span></div>" }
    As an alternative, you can make use of the jqxDropDownList renderer callback function, as shown in the demo Custom Rendering.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Bug in showing Flags #84294

    Tahir Nazir
    Participant

    Hello Dimitar,

    The solution which you have provided that I define Image as img tag, this distort the image on resize. Therefore I have used it as background-image. It make it compatible with all browsers efficiently. Is this possible to define DropDownList in “em” unit?

    Thanks a lot.

    Bug in showing Flags #84322

    Dimitar
    Participant

    Hello Tahir Nazir,

    You can set the width and height of the jqxDropDownList widget only in pixels (e.g. 200 or ‘200px’) or percentages (e.g. ‘100%’). Our widgets do not support the ’em’ unit (when setting a value in ’em’ through the API).

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.