Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
    PhilChill is an unknown quantity at this point

      0  

    Default dynamic setTitle titlebar

    dynamic setTitle titlebar


    REQUIRED INFORMATIONExt version tested:
    • Sencha Touch 2.0PR1
    Browser versions tested against:
    • Chrome 11 (Windows)
    • Safari (iPhone)
    DOCTYPE tested against:
    • Ext.TitleBar - setTitle() don't cut the title
    Description:
    • When I want to set the title in a title bar dynamically the title is not been cut and the title text goed over the buttons
    Steps to reproduce the problem:
    • Create a TitleBar insert this titlebar in another view at the painted event for that titlebar and call the setTitle() function.
    The result that was expected:
    • That when the title is to long the title will be cut
    The result that occurs instead:
    • The title was not cut
    Test Case:
    Code:
        {        xtype: 'topBarConversation',
            listeners : {
                painted: function(){
                this.setTitle(MobileLogin._caseTitle); // a long title 
                }
            }
            }
    HELPFUL INFORMATIONScreenshot 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:
    • Windows 7

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


    Have you tried in a final release like 2.0.1 not a PR release? This is working great for me:

    Code:
    new Ext.Container({
        fullscreen : true,
        items      : [
            {
                xtype  : 'titlebar',
                docked : 'top',
                items  : [
                    {
                        xtype : 'button',
                        ui    : 'back',
                        text  : 'Back'
                    },
                    {
                        xtype : 'button',
                        text  : 'Reply',
                        align : 'right'
                    }
                ],
                listeners : {
                    painted : function(bar) {
                        bar.setTitle('Just a long title, nothing big');
                    }
                }
            }
        ]
    });
    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
    Oct 2012
    Posts
    3
    Vote Rating
    0
    michel.tadross is on a distinguished road

      0  

    Default My title bar is not working properly also

    My title bar is not working properly also


    hi,

    My title bar renders the long titles correctly only the first time the user opens the screen, but when opened after that it renders wrong and maybe above the Back button.

    Here is a snippet of the code.

    items: [{ xtype: 'titlebar', docked: 'top',
    title: 'Album title', id: "albumsItemTitleBar", items: { text: 'Back' }
    }],

    var albumsItemTitleBar = Ext.getCmp('albumsItemTitleBar');
    albumsItemTitleBar.setTitle(selectedAlbum);

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar