Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26687/source/script/appearance
Modified Files:
Tag: renderer
QxAppearanceTheme-Default.js
Log Message:
Moved many styling stuff to the widgets, dramatically reduced size of qooxdoo.css, direct font handling in appearance of QxLabel and QxTextField, default font-size for all qooxdoo widgets is from now on zero.
Index: QxAppearanceTheme-Default.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.js,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -d -r1.1.2.9 -r1.1.2.10
--- QxAppearanceTheme-Default.js 19 Jan 2006 16:26:06 -0000 1.1.2.9
+++ QxAppearanceTheme-Default.js 24 Jan 2006 16:48:54 -0000 1.1.2.10
@@ -72,6 +72,16 @@
}
});
+theme.registerAppearance("blocker",
+{
+ initial : function(vWidget, vTheme)
+ {
+ return {
+ cursor : QxConst.CORE_DEFAULT
+ };
+ }
+});
+
theme.registerAppearance("atom",
{
initial : function(vWidget, vTheme)
@@ -93,6 +103,14 @@
setup : function()
{
this.color_disabled = new QxColorObject("graytext");
+ this.font = new QxFont(11, '"Segoe UI", Corbel, Calibri, Tahoma, "Lucida Sans Unicode", sans-serif');
+ },
+
+ initial : function(vWidget, vTheme)
+ {
+ return {
+ font: this.font
+ };
},
state : function(vWidget, vTheme, vStates)
@@ -1048,6 +1066,11 @@
theme.registerAppearance("text-field",
{
+ setup : function()
+ {
+ this.font = new QxFont(11, '"Segoe UI", Corbel, Calibri, Tahoma, "Lucida Sans Unicode", sans-serif');
+ },
+
initial : function(vWidget, vTheme)
{
return {
@@ -1057,7 +1080,8 @@
paddingRight : 4,
paddingBottom : 2,
paddingLeft : 4,
- allowStretchY : false
+ allowStretchY : false,
+ font : this.font
};
},
|