Permalink
Browse files

[BUG #6233] Updated the API viewer to use the indigo theme. CSS file …

…still to go.
  • Loading branch information...
1 parent dbc5198 commit 14e614880291763d93ca629a0a881e1aefe2a95b @wittemann wittemann committed Mar 28, 2012
@@ -24,7 +24,7 @@
qx.Theme.define("apiviewer.Appearance",
{
title: "Theme for API Viewer",
- extend : qx.theme.modern.Appearance,
+ extend : qx.theme.indigo.Appearance,
appearances :
{
@@ -58,7 +58,8 @@ qx.Theme.define("apiviewer.Appearance",
style : function(states)
{
return {
- contentPadding : [ 10, 10, 10, 10 ]
+ contentPadding : [ 10, 10, 10, 10 ],
+ backgroundColor: "white"
};
}
},
@@ -109,4 +110,4 @@ qx.Theme.define("apiviewer.Appearance",
}
}
}
-});
+});
@@ -27,9 +27,9 @@ qx.Theme.define("apiviewer.Theme",
meta :
{
- color : qx.theme.modern.Color,
- decoration : qx.theme.modern.Decoration,
- font : qx.theme.modern.Font,
+ color : qx.theme.indigo.Color,
+ decoration : qx.theme.indigo.Decoration,
+ font : qx.theme.indigo.Font,
appearance : apiviewer.Appearance,
icon : qx.theme.icon.Tango
}
@@ -56,7 +56,6 @@ qx.Class.define("apiviewer.Viewer",
this.__menuItemStore = {};
var layout = new qx.ui.layout.VBox;
- layout.setSeparator("separator-vertical");
this.setLayout(layout);
@@ -384,6 +383,7 @@ qx.Class.define("apiviewer.Viewer",
__createSplitPane : function(leftWidget, rightWidget)
{
var mainSplitPane = new qx.ui.splitpane.Pane("horizontal");
+ mainSplitPane.setAppearance("app-splitpane");
mainSplitPane.add(leftWidget, 0);
mainSplitPane.add(rightWidget, 1);
return mainSplitPane;
@@ -400,6 +400,7 @@ qx.Class.define("apiviewer.Viewer",
var title = new qx.ui.basic.Label("API Documentation");
var version = new qxc.ui.versionlabel.VersionLabel();
+ version.setFont("default");
header.add(title);
header.add(new qx.ui.core.Spacer, {flex : 1});
@@ -34,6 +34,7 @@ qx.Class.define("apiviewer.ui.PackageTree",
this.base(arguments, "Documentation");
this.setDecorator(null);
+ this.setPadding(0);
this.__root = new qx.ui.tree.TreeFolder("Packages");
this.__root.setOpen(true);
@@ -37,8 +37,8 @@ qx.Class.define("apiviewer.ui.SearchView",
this.base(arguments);
var layout = new qx.ui.layout.VBox();
- layout.setSeparator("separator-vertical");
this.setLayout(layout);
+ this.setBackgroundColor("white");
this.__initresult = false;
this.listdata = [];
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14e6148

Please sign in to comment.