summaryrefslogtreecommitdiffstats
path: root/qx08/source/class/tr/ui/Footer.js
diff options
context:
space:
mode:
Diffstat (limited to 'qx08/source/class/tr/ui/Footer.js')
-rw-r--r--qx08/source/class/tr/ui/Footer.js45
1 files changed, 12 insertions, 33 deletions
diff --git a/qx08/source/class/tr/ui/Footer.js b/qx08/source/class/tr/ui/Footer.js
index 1882043..6b77aa3 100644
--- a/qx08/source/class/tr/ui/Footer.js
+++ b/qx08/source/class/tr/ui/Footer.js
@@ -5,41 +5,20 @@
/**
* a widget showing the footer
*/
+qx.Class.define('tr.ui.Footer', {
+ extend : qx.ui.container.Composite,
+
+
-qx.Class.define('Tr.ui.Footer',
-{
- extend: qx.ui.layout.HorizontalBoxLayout,
/*
- *****************************************************************************
- CONSTRUCTOR
- *****************************************************************************
- */
+ *****************************************************************************
+ CONSTRUCTOR
+ *****************************************************************************
+ */
- construct: function (text,url) {
- this.base(arguments);
- this.set({
- horizontalChildrenAlign: 'right',
- height: 'auto'
- });
- var logo = new qx.ui.form.Button(text);
- logo.set({
- textColor: '#b0b0b0',
- backgroundColor: null,
- font: qx.ui.core.Font.fromString('10px sans-serif'),
- border: null
- });
-
- logo.addEventListener('execute', function(e){
- var w = new qx.client.NativeWindow(url);
- w.set({
- width: 1000,
- height: 800
- });
- w.open()
- });
- this.add(logo);
+ construct : function(text, url) {
+ this.base(arguments, new qx.ui.layout.HBox().set({ alignX : 'right' }));
+ this.add(new tr.ui.Link(text, url, '#888', '10px sans-serif'));
}
-});
-
-
+}); \ No newline at end of file