Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4480 in a recent build.
  1. #1
    Sencha User hectorgomis's Avatar
    Join Date
    Feb 2013
    Location
    Spain
    Posts
    42
    Vote Rating
    0
    hectorgomis is on a distinguished road

      0  

    Default Bug Toolbar width != sum(elements width)

    Bug Toolbar width != sum(elements width)


    Using a toolbar in my view, width % is not working properly 50%+50%!=100%, and when I resize the window, the difference is changing dinamically:

    Code:
    Ext.Viewport.add({
        items : [
            {
                width : '70%',
                items : [
                    {
                        xtype  : 'toolbar',
                        docked : 'top',
                        items  : [
                            {
                                xtype : 'textfield',
                                width : '50%'
                            },
                            {
                                xtype : 'textfield',
                                width : '50%'
                            }
                        ]
                    }
                ]
            }
        ]
    });
    img.png

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    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


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User hectorgomis's Avatar
    Join Date
    Feb 2013
    Location
    Spain
    Posts
    42
    Vote Rating
    0
    hectorgomis is on a distinguished road

      0  

    Default


    I'm using ST2.2.0.

    Can we see the priority and work in bugtraker? Do you have a public calendar of next releases and patchs?

    Thanks!

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Changing the .x-toolbar .x-field rule to use padding instead of margin will fix this issue. This will be included in an upcoming version.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 2