1. #1
    Sencha User Iveco's Avatar
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    70
    Vote Rating
    1
    Iveco is on a distinguished road

      0  

    Default ComboBox fieldLabel on top instead of left (labelAlign) not working

    ComboBox fieldLabel on top instead of left (labelAlign) not working


    Hello,

    I am using a ComboBox in a FormPanel. FormPanel has no labelAlign or any other layout-config.

    I am rendering the ComboBox into the FormPanel.
    Label is aligned left. I would like to have it top. "labelAlign: 'top'" on ComboBox doesn't work. When I specify labelAlign in the formpanel it works. But: I have checkboxes there too. They shoudln't be top aligned. Overriding the labelAlign in the checkboxes doesn't work.

    How do I align a combobox fieldlabel to the top, when it's within a formpanel, having multiply checkboxes (all using boxLabel instead of fieldLabel (so text is right after the box not before)?

    edit: I tried using "fieldLabel: 'test'" on checkboxes & combobox but still when FormPanel defines a labelAlign the subchildren-components cannot override the value. How do I specify labelAlign for each of them :-(.
    German EXT-User and -Lover :-).

  2. #2
    Sencha User JEMF's Avatar
    Join Date
    Oct 2013
    Location
    Mexico City
    Posts
    5
    Vote Rating
    0
    JEMF is on a distinguished road

      0  

    Default


    Any update for this issue with ExtJS 4?
    SirChokolate

  3. #3
    Sencha User JEMF's Avatar
    Join Date
    Oct 2013
    Location
    Mexico City
    Posts
    5
    Vote Rating
    0
    JEMF is on a distinguished road

      0  

    Default


    After reading the documentation for ExtJS 4.2.2, I read that we can do this using labelAlign property, setting it to 'top', and that's it!

    Code:
        {
            xtype:'combobox'
            ,fieldLabel: 'Combo test'
            ,id: 'combot'
            ,labelWidth: 200
            ,labelAlign: 'top'
            ,name: 'combot'
        }
    SirChokolate

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi