jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList DropDownList Shrink minimum is blocked by text width

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Opsidium 7 years, 2 months ago.

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

  • Opsidium
    Participant

    Hello, we have a problem with the size of the dropdownlist when we shrink the viewport and the widget shrink until the min size depend of the text visible in the dropdown.
    For example : with this text “39 : bénéficiaire d\’un contrat d\’appui à la création d\’entreprise (cape)” the min size is 221px.
    With this text “01 – CDI” the min size is 71px
    Why this comportement and how code the widget to make text overflow ellipsis and the widget shrink to the min width at 50px for all size of text.

    Thanks. Fabien.


    Stanislav
    Participant

    Hello Fabien,

    The widget itself doesn’t have a ‘min-width‘ property.
    Can you please give me some more information on how are you setting its properties, and what properties are you setting?

    Take a look at this forum post, you might find it helpful: Link

    Best Regards,
    Stanislav

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


    Opsidium
    Participant

    Hi Stanislav,

    Our properties is classical, as :

    <jqxDropDownList #cb_profils [width]=”‘100%'” [height]=”25″ [dropDownWidth]=”350″ [dropDownHeight]=”300″ [displayMember]=”‘label'” [valueMember]=”‘value'” [theme]=”globserv.glob_theme” [source]=”data_cb_profils” [ngModel]=”saladata?.PROFIL” (onChange)=”SetProfil($event);”></jqxDropDownList>

    The size of this dropdownlist is linked with the size of the data dispatch on the label of the dropdownlist.
    When the text is short, the widget can shrink but when the text is long, the widget stop to the length of the text.

    Thanks you. Fabien.

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

You must be logged in to reply to this topic.