PDA

View Full Version : [CLOSED] My title bar is not working properly



michel.tadross
16 Nov 2012, 6:48 AM
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);

mitchellsimoens
16 Nov 2012, 10:24 AM
What ST2 version are you using?

michel.tadross
16 Nov 2012, 1:44 PM
Actually instead of trying to find the version of my ST2 that i was using, i upgraded to the latest version and the issue seems to be fixed, it used to exist in earlier versions. Thanks for your reply, i will test to see how my application is going, if it is ok i will upgrade. Thanks again