1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
    kolakao is on a distinguished road

      0  

    Default Unanswered: Huge problem with text overlapping

    Unanswered: Huge problem with text overlapping


    Hello. I'm new in Sencha Touch 2 and I have a problem with text overlapping on my titlebar (or toolbar, doesn't really matter). Take a look at these screens:

    http://i.imgur.com/FBCa5.png
    http://i.imgur.com/nrH3N.png

    I'm also using routes and animateActiveItem to move across the pages. Has somebody faced an issue like this before? I've been trying to resolve this bug for like two days and nothing came up to my mind. Now I'm just desperately looking for help .

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,027
    Answers
    3493
    Vote Rating
    850
    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


    What does a sample config for titlebar look like?
    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
    Nov 2012
    Posts
    2
    Vote Rating
    0
    kolakao is on a distinguished road

      0  

    Default


    Code:
    Ext.define("MyApp.view.Schedule", {
        extend: "Ext.Panel",
        alias: "widget.schedulepage",
        requires: ["Ext.dataview.List"],
    
    
        config: {
            scrollable: "vertical",
            layout: { type: "fit" },
    
            items: [
            {
                xtype: "titlebar",
                title: "Schedule",
                docked: "top",
                items: [{
                    xtype: 'button',
                    itemId: 'displayMainMenuButton',
                    iconCls: 'settings',
                    iconMask: true
                }]
            } (...)
    I tried both toolbar and titlebar, but bug remains anyway.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,027
    Answers
    3493
    Vote Rating
    850
    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


    There isn't anything there that would have text overlapping. Tried the code in 2.0.1.1 and 2.1.0 and do not see the overlapping.
    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.

Thread Participants: 1

Tags for this Thread