Results 1 to 2 of 2

Thread: Label Bar

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
      0  

    Default Label Bar

    Hello Everyone,
    I am stuck trying to make a label bar, by that I mean a titlebar with text on it. I have tried using a toolbar and docking it the bottom of my app with a label in it, but I never see the text. I was wondering if anyone knew the "right" way to make a simple title/toolbar with arbitrary labels that may NOT be centered.

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

    Default

    Code:
    {
        xtype : 'toolbar',
        title : 'Some Title',
        docked : 'bottom'
    }
    That should work for both toolbar and titlebar.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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