Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Illinois
    Posts
    93
    Vote Rating
    2
    bwags is on a distinguished road

      0  

    Default Title Bar in NavigationView not truncating after 'back'

    Title Bar in NavigationView not truncating after 'back'


    Inside a NavigationView if I push a view with a long title:

    Code:
    this.getMyNavigationView().push({
       xtype : 'viewWithLongTitle',
       title : 'This is a long title that will need to be truncated.'
    });
    The title sets correctly with truncation, but then inside that view I push a new view (a details page), and that title sets correctly.

    The problem is that when I click the 'back' button provided by the NavigationView my title is no longer truncated.

    Thanks!

    Brad

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


    I'm not using this using 2.0.1 RC with this code:

    Code:
    new Ext.navigation.View({
        fullscreen : true,
        items      : [
            {
                title : 'Orig',
                items : [
                    {
                        xtype : 'button',
                        text  : 'Push',
                        handler : function(button) {
                            var view = button.up('navigationview');
    
                            view.push({
                                title : 'Do not mind me, just a really load title',
                                html  : 'Long title'
                            });
                        }
                    }
                ]
            }
        ]
    });
    Screen Shot 2012-04-08 at 9.06.07 AM.png
    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.

Thread Participants: 1

Tags for this Thread