Results 1 to 4 of 4

Thread: how to change treepanel align

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default how to change treepanel align

    Dear all

    I have treepanel with store. I wanna change tree alignment to right. How i can do that.
    thanks

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,407
    Answers
    716
    Vote Rating
    503
      0  

    Default

    Can you please elaborate?

    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Hi,
    I wrote the following code:
    {
    xtype: 'treepanel',
    titleAlign: 'right',
    title: 'tools',
    store: store,
    rootVisible: 'false',
    renderTo: Ext.getBody(),
    collapsible: true
    }
    At the result, i have a tree in panel with left alignment, So i wanna change tree alignment to right in the panel.

    Thanks.

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    You may be able to do it with some CSS but RTL is not currently supported but it is something that is currently scoped for 4.2 (remember I said "currently")
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •