summaryrefslogtreecommitdiff
path: root/webapps
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-03-13 02:58:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:30 -0500
commit894555b0a713430ee5cbb743bb0250eb6bf92b3c (patch)
tree54634d792d5c74db0730d5e1b0e8cb0f50b51c26 /webapps
parent0f08bc3ab5a728798a10327c13e688cd30a02f26 (diff)
downloadsamba-894555b0a713430ee5cbb743bb0250eb6bf92b3c.tar.gz
samba-894555b0a713430ee5cbb743bb0250eb6bf92b3c.tar.bz2
samba-894555b0a713430ee5cbb743bb0250eb6bf92b3c.zip
r21810: - The height of a widget is in relation to its enclosing widget. Specifying a
height of 100% means that if the enclosing widget is 100 pixels high, this widget should be 100 pixels high. If this widget is then placed someplace other than at the top of the enclosing widget, e.g. with top:20, the bottom of this widget will fall off the bottom of the enclosing widget. The normal way to solve this is to specify top and bottom attributes rather than top and height attributes. Also, since widgets often look better if they don't extend all the way to the very bottom, specifying a bottom attribute equal to the top attribute typically has an appealing appearance. I've fixed the tree widget so it no longer falls off the bottom of the page. (This used to be commit 44d5f5ec6db76c981f94e7322f82592e5d85be9f)
Diffstat (limited to 'webapps')
-rw-r--r--webapps/swat/source/class/swat/module/netmgr/Gui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapps/swat/source/class/swat/module/netmgr/Gui.js b/webapps/swat/source/class/swat/module/netmgr/Gui.js
index 3b62337811..d1376ab4c6 100644
--- a/webapps/swat/source/class/swat/module/netmgr/Gui.js
+++ b/webapps/swat/source/class/swat/module/netmgr/Gui.js
@@ -24,7 +24,7 @@ qx.Proto.buildGui = function(module)
top: 20,
left: 20,
right: 20,
- height: "100%"
+ bottom: 20
});
// Create a hosts tree