Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    Giacomo1988 is on a distinguished road

      0  

    Default fields in a panel or fieldset with layout property set to 'hbox' or 'xbox' in sencha

    fields in a panel or fieldset with layout property set to 'hbox' or 'xbox' in sencha


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha touch 2.2.0 gpl

    Browser versions tested against:
    • Safari 6.0.4
    • Chrome 27.0.1453.65 beta

    Description:
    • The problem arises when there are some fields (I had the problem with textfields or selectfields, i've not tested other types of fields) inside a fieldset (or a simple panel) with the layout property with value 'hbox' or 'vbox'. In this case the fields will break in 2 pieces: the label part and the real field part, and they'll be placed one above the other. I've attached a picture for more infos.

    Steps to reproduce the problem:
    • place a field inside a panel with the layout property equals to 'hbox' or 'vbox'.

    The result that was expected:
    • a normal visualization, with the label and field placed in the same row

    The result that occurs instead:
    • as displayed in the picture, the field and the label were placed on 2 different rows

    Test Case:

    Code:
    var form = Ext.create('Ext.form.Panel', {
        fullscreen: true,
        items: [
            {
                xtype: 'fieldset',
                title: 'Enter your name',
                layout: 'hbox',
                items: [
                    {
                        xtype: 'textfield',
                        label: 'First Name',
                        labelWidth: 150,
                        name: 'firstName'
                    },
                    {
                        xtype: 'textfield',
                        label: 'Last Name',
                        labelWidth: 150,
                        name: 'lastName'
                    }
                ]
            }
        ]
    });
    Ext.Viewport.add(form);


    HELPFUL INFORMATION


    Screenshot or Video:
    See this URL for live test case: http://


    Debugging already done:
    • none

    Possible fix:
    • not provided

    Additional CSS used:
    • only default ext-all.css
    • custom css (include details)

    Operating System:
    • Mac OS X 10.7.5
    • iOS (6.1)

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,798
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This has already been fixed for the 2.2.1 release.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    Giacomo1988 is on a distinguished road

      0  

    Default


    Thanks Mitchell for your reply!!
    Is there any workaround, waiting for the 2.2.1 release? Or will this version be released soon?

    Thanks again!

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default


    Yes, if there is a workaround, it would be seriously appreciated as I am going into beta testing in 3 days!!

Thread Participants: 2

Tags for this Thread

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