summaryrefslogtreecommitdiffstats
path: root/web-gui/hello-world/source/class/hello_world/theme
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-06-03 15:22:25 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-03 15:22:25 +0200
commita28f25b2ef74d988f58c66dab3291bdb539ef106 (patch)
tree2e7641f276224c52a37f7c32ae589c887f7e1ab5 /web-gui/hello-world/source/class/hello_world/theme
parent949d1db7a76b72dfebfd4380072473d10078f057 (diff)
downloadjson-dbus-bridge-examples-a28f25b2ef74d988f58c66dab3291bdb539ef106.tar.gz
json-dbus-bridge-examples-a28f25b2ef74d988f58c66dab3291bdb539ef106.tar.xz
[web-gui] make it nicer
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'web-gui/hello-world/source/class/hello_world/theme')
-rw-r--r--web-gui/hello-world/source/class/hello_world/theme/Font.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/web-gui/hello-world/source/class/hello_world/theme/Font.js b/web-gui/hello-world/source/class/hello_world/theme/Font.js
index 957646d..a73b328 100644
--- a/web-gui/hello-world/source/class/hello_world/theme/Font.js
+++ b/web-gui/hello-world/source/class/hello_world/theme/Font.js
@@ -14,5 +14,15 @@ qx.Theme.define("hello_world.theme.Font",
fonts :
{
+ "default" :
+ {
+ size : (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ? 17 : 15,
+ lineHeight : 1.4,
+ family : qx.bom.client.Platform.MAC ? [ "Lucida Grande" ] :
+ (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ?
+ [ "Segoe UI", "Candara" ] :
+ [ "Tahoma", "Liberation Sans", "Arial", "sans-serif" ],
+ bold : true
+ }
}
-}); \ No newline at end of file
+});