Results 1 to 10 of 26

Thread: Short titles in title bar also gets clipped with text-ellipsis?

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3072 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Amsterdam
    Posts
    22
    Vote Rating
    2
      2  

    Default Short titles in title bar also gets clipped with text-ellipsis?

    I was wondering, is this a bug or a new feature of Sencha Touch 2.0.1.
    All the titles in the titlebar gets clipped with text-ellipsis. - So also the really short title's.
    For me this looks a bit strange... Is there a setting to disable this functionality?
    Cause right now I have to overrule the CSS to fix it.

    Thanks!
    Lee

    Testing: Sencha Touch 2.0.1.
    On PC with Chrome 21

    Code:
    <html><head>
    <title>Sencha Touch examples</title>
    <link rel="stylesheet" type="text/css " href="http://dev.sencha.com/deploy/sencha-touch-2.0.1/resources/css/sencha-touch.css" />
    <script type = "text/javascript"src = "http://dev.sencha.com/deploy/sencha-touch-2.0.1/sencha-touch-all.js" > </script>
    
    
    <script type="text/javascript">
    
    
    
    
    Ext.application({
        name: 'Hello World',
        launch: function() {
            Ext.create('Ext.Container', {
                fullscreen: true,
                items: [{
                    xtype : 'toolbar',
                    docked: 'top',
                    title: 'App'
                    },
                    {
                        xtype: 'panel',
                        html: '<h2>Hello World!</h2>'
                    }]
            });
        }
    });
    
    
    
    
    
    
    </script>
    </head>
    <body>
    </body>
    </html>

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,421
    Vote Rating
    1271
      0  

    Default

    Looks like we have centered set to true on the title component which makes it floating and has a CSS that says the flex is zero which I think makes it get cut off.
    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
    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 - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,159
    Vote Rating
    7
      0  

    Default

    Thanks for the report. Fixed for the next release.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Sencha User
    Join Date
    Sep 2010
    Location
    Amsterdam
    Posts
    22
    Vote Rating
    2
      0  

    Default

    thank you guys!

  5. #5
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I noticed this on the Back button on my navigation view as well...?

    EDIT: and possibly some issues with icons as well. See:
    /sencha/examples/kitchensink/index.html#demo/icons

  6. #6
    Sencha User
    Join Date
    Mar 2009
    Posts
    227
    Vote Rating
    3
      0  

    Default

    I'm using Sencha Architect 2.0.0 Build 442 and i'm getting this problem

    what can i do to fix it?

    thanks

  7. #7
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    Quote Originally Posted by rdougan View Post
    Thanks for the report. Fixed for the next release.
    It would be awesome if we could "Like" these types of posts!

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
  •