svn commit: samba r21810 - in
branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr: .
derrell at samba.org
derrell at samba.org
Tue Mar 13 02:58:05 GMT 2007
Author: derrell
Date: 2007-03-13 02:58:05 +0000 (Tue, 13 Mar 2007)
New Revision: 21810
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21810
Log:
- 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.
Modified:
branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js
Changeset:
Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js
===================================================================
--- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js 2007-03-13 02:54:06 UTC (rev 21809)
+++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js 2007-03-13 02:58:05 UTC (rev 21810)
@@ -24,7 +24,7 @@
top: 20,
left: 20,
right: 20,
- height: "100%"
+ bottom: 20
});
// Create a hosts tree
More information about the samba-cvs
mailing list