Results 1 to 2 of 2

Thread: tabPanel/NavigationView custom font title incorrect ellipsis on init

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2353 in a recent build.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Vote Rating

    Default tabPanel/NavigationView custom font title incorrect ellipsis on init

    REQUIRED INFORMATIONExt version tested:
    • ST2 RC2
    Browser versions tested against:
    • (OSX Lion)Chrome 17.0.963.56
    • Android2.3/Android4
    • Safari iOS5
    DOCTYPE tested against:
    • html5
    • When using a custom font (tried several fonts, happens on any)via font face for title bar, an incorrect ellipsis always appears on init, which gets fixed when you navigate in the app and come back to first screen
    Steps to reproduce the problem:
    • check test case below : ellipsis...
    • change tab and come back to first tab: no ellipsis
    The result that was expected:
    • ellipsis should be set only for too long titles even on init

    The result that occurs instead:

    • ellipsis is set on init regardless of title length

    Test Case (be patient, my server is... slow):

    code for the tab panel :
        Ext.define('MyApp.view.MyTabPanel', {    extend: '',
        requires: [ 'Ext.navigation.View', 'Ext.dataview.List' ],
        config: {
            tabBar: {
                docked: 'bottom'
            items: [
                    xtype: 'navigationview',
                    title: 'Tab 1',
                    iconCls: 'info',
                    items: [
                            xtype: 'list',
                            itemTpl: [
                            title: 'My Test Title'
                    xtype: 'container',
                    title: 'Tab 2',
                    iconCls: 'info'
                    xtype: 'container',
                    title: 'Tab 3',
                    iconCls: 'info'
    including the font in css via font face:
    @font-face{	font-family:orbitron;
    .x-title {
    	font-family: orbitron;

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts