diff options
author | Artur Signell <artur.signell@itmill.com> | 2008-12-03 13:03:57 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2008-12-03 13:03:57 +0000 |
commit | 26039540f149464e97dbdf859c779772c8b9c2dc (patch) | |
tree | cc8c46399c0cf05ce90321ba4e3c304758bc3548 /src/com/itmill/toolkit/tests/tickets/Ticket2061b.java | |
parent | 7857f67d6e442e9f1db551513adec454cffec1db (diff) | |
download | vaadin-framework-26039540f149464e97dbdf859c779772c8b9c2dc.tar.gz vaadin-framework-26039540f149464e97dbdf859c779772c8b9c2dc.zip |
Misc test case fixes (invalid size definitions, invalid usage of AlignmentHandler/SpacingHandler).
svn changeset:6082/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/tickets/Ticket2061b.java')
-rw-r--r-- | src/com/itmill/toolkit/tests/tickets/Ticket2061b.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/tests/tickets/Ticket2061b.java b/src/com/itmill/toolkit/tests/tickets/Ticket2061b.java index 09d8b6ab51..4e5240f773 100644 --- a/src/com/itmill/toolkit/tests/tickets/Ticket2061b.java +++ b/src/com/itmill/toolkit/tests/tickets/Ticket2061b.java @@ -63,7 +63,7 @@ public class Ticket2061b extends Application implements tf.setHeight("2500px"); tf.setWidth("2500px"); - Tabs tab = new Tabs(new Component[] { p, a, tf }); + TabsAcc tab = new TabsAcc(new Component[] { p, a, tf }); tab.addListener(this); mainLayout.addComponent(sp); @@ -165,6 +165,19 @@ public class Ticket2061b extends Application implements } + public class TabsAcc extends Accordion { + + public TabsAcc(Component[] components) { + this.setWidth("100%"); + this.setHeight("100%"); + for (int i = 0; i < components.length; i++) { + this.addTab(components[i], components[i].getDebugId(), null); + } + + } + + } + public class MyAccordion extends Accordion { public MyAccordion(Component[] components, String id) { |