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