Created
March 22, 2010 10:58
-
-
Save jonathanweiss/339969 to your computer and use it in GitHub Desktop.
Playground demo for bug #2573
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var doc = this.getRoot(); | |
var t = new qx.ui.tabview.TabView(); | |
for (var i=1; i<=20; i++) | |
{ | |
var page = new qx.ui.tabview.Page("Page #" + i, "icon/16/apps/utilities-terminal.png"); | |
page.setLayout(new qx.ui.layout.VBox()); | |
page.add(new qx.ui.basic.Label("Page #" + i + " with close button.")); | |
t.add(page); | |
} | |
t.set({ | |
allowGrowX : false, | |
allowGrowY : false, | |
minWidth : 300 | |
}) | |
sc = new qx.ui.container.Scroll(); | |
sc.setScrollbar("on", "on"); | |
sc.add(t, {top : 100, left : 10}); | |
doc.add(sc, | |
{ | |
left : 100, | |
top : 50 | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment