Results 1 to 3 of 3

Thread: TreePanels in TabPanel - tools not visible problem...

  1. #1

    Default TreePanels in TabPanel - tools not visible problem...

    Hello,

    I created panel with structure like this:
    - west region - contains TabPanel with two tabs (every tab hold one TreePanel)
    - center region - contains GridPanel

    My problem is with tools in TreePanels - they just do not appear on screen (they are not rendered).

    To illustrate this situation I've attached JS files (Ext 3 RC 1.1 is used for creation).

    Am I doing something wrong, or is it just some bug in Ext?

    Thanks in advance...
    Attached Files Attached Files

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Tools go in a header.

    Panels inside a TabPanel to not get headers. They get the tab selector item.

    Perhaps tools should be hoisted into the tab selector item. But that's a Feature Request.

    If you must have a header inside an item of a TabPanel, add a

    Code:
    {
        xtype: 'container',
        layout: 'fit',
        title: "Whatever"
    }
    Which contains your Panel with tools.

  3. #3

    Default Thanks...

    Thanks Animal...
    Your help is always fastests one

    Cheers

Posting Permissions

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