You found a bug! We've classified it as TOUCH-895 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,681
    Vote Rating
    112
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default [PR 1] Toolbar with title + items

    [PR 1] Toolbar with title + items


    hi team,

    in ST 1, if a toolbar had items + title, the title was always centered in the middle of the tb. in ST 2 the title seems to get put at the end of the tb.

    in case you need to put the title on the centered position, you get a problem in ST 2, since:

    Code:
            {
                xtype  : 'toolbar',
                docked : 'top',
                ui     : 'light',
                items : [{
                    xtype  : 'button',
                    action : 'showSignUpView',
                    text   : 'Sign up',
                    ui     : 'back'
                }, {
                    xtype : 'spacer'
                }, {
                    xtype : 'title',
                    title : 'Login'
                }, {
                    xtype : 'spacer'
                }, {
                    xtype  : 'button',
                    action : 'showForgotPasswordView',
                    text   : 'Forgot PW',
                    ui     : 'forward'
                }]
            },
    will align the title centered between the buttons.

    when using different panels with toolbars having different text inside the buttons, the title position varies.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  2. #2
    Sencha User 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


    We do have a new NavigationBar class which does this much better than the old Toolbar class. We are still testing it's viability to merge the capabilities into a single class.

Thread Participants: 1