sgodden / echo3ext20

Automatically exported from code.google.com/p/echo3ext20
Other
0 stars 1 forks source link

TabbedPane should support closable and scroll #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi, I am using the TabbedPane, and I want to have 
the feature of tab close. And when there are many
tabs, the tabs can croll. Just like the pics in 
attachments.

Original issue reported on code.google.com by simon...@gmail.com on 6 Mar 2009 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
We are working on this now.  Co-incidentally, we also needed to add the same 
functionality this week.

Original comment by sgod...@gmail.com on 6 Mar 2009 at 3:38

GoogleCodeExporter commented 9 years ago
ExtJS inspects tab pane children to see if they may be closed by looking at the
child's 'closable' property. An abstract base class 'ExtComponent' has been 
added
that allows this property to be set - by default the value is false.

To allow a tab pane's child to be closed, call setClosable(true) on it, for 
example:

TabbedPane tabPane = new TabbedPane();
Panel p = new Panel();
p.setClosable(true);
tabPane.add(p);

--

Tab header scrolling has been turned on by default, so the scroll arrows will 
appear
as required.

Original comment by lloyd.colling@gmail.com on 6 Mar 2009 at 3:46

GoogleCodeExporter commented 9 years ago
Great! Thanks very much!

Original comment by simon...@gmail.com on 6 Mar 2009 at 4:13