incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r473621 - in /incubator/xap/trunk/src/xap/widgets/dojo: HorizontalFlowPane.js HorizontalPanel.js VerticalPanel.js
Date Sat, 11 Nov 2006 01:44:14 GMT
Author: jmargaris
Date: Fri Nov 10 17:44:14 2006
New Revision: 473621

URL: http://svn.apache.org/viewvc?view=rev&rev=473621
Log:
layout fixes

Modified:
    incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js
    incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js
    incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js

Modified: incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js?view=diff&rev=473621&r1=473620&r2=473621
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js Fri Nov 10 17:44:14 2006
@@ -44,11 +44,11 @@
 	//TODO revisit this and see if it is really a problem,
 	//in theiry display:block should create a block that absolute children
 	//are relative to.
-	templateString: '<div style="overflow:hidden;"><table cellPadding="0" cellSpacing="0"><tbody>'
+	templateString: '<table cellPadding="0" cellSpacing="0" style="overflow:hidden"><tbody>'
 		+ '<tr><td style="width:100%;height:100%">'
 		+ '<div dojoAttachPoint="containerNode" style="width: 100%; height: 100%; position:relative;"></div>'
 		+ '</td></tr>'
-		+ '</tbody></table></div>',
+		+ '</tbody></table>',
 	templateCssPath: null ,
 	widgetType: "HorizontalFlowPane",
 	isContainer: true,

Modified: incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js?view=diff&rev=473621&r1=473620&r2=473621
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js Fri Nov 10 17:44:14 2006
@@ -37,14 +37,13 @@
 dojo.inherits(xap.widgets.dojo.HorizontalPanel, dojo.widget.HtmlWidget);
 
 dojo.lang.extend(xap.widgets.dojo.HorizontalPanel, {
-	templateString: '<div style="height:100%;overflow:hidden;" dojoAttachPoint="div">'
-		+ '<table cellPadding="0" cellSpacing="0" dojoAttachPoint="table" height="100%" width="100%"><tbody
dojoAttachPoint="tbody">'
+	templateString: '<table cellPadding="0" cellSpacing="0" dojoAttachPoint="table"><tbody
dojoAttachPoint="tbody">'
 	 	+ '<tr dojoAttachPoint="centerRow" style="height:100%; width:100%">'
-		+ '<td dojoAttachPoint="centerTd" valign="top" align="left" height="100%" width="100%">'
-		+ '<table dojoAttachPoint="centerTable" border="0" cellspacing="0" cellpadding="0" height="100%">'
+		+ '<td dojoAttachPoint="centerTd" valign="top" align="left" style="width:100%;height:100%">'
+		+ '<table dojoAttachPoint="centerTable" border="0" cellspacing="0" cellpadding="0" style="height:100%">'
 		+ '<tbody dojoAttachPoint="centerTbody"><tr dojoAttachPoint="row"></tr></tbody>'

 		+ '</table></td></tr>'
-		+ '</tbody></table></div>',
+		+ '</tbody></table>',
 		
 	templateCssPath: null ,
 	widgetType: "HorizontalPanel",

Modified: incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js?view=diff&rev=473621&r1=473620&r2=473621
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js Fri Nov 10 17:44:14 2006
@@ -37,14 +37,13 @@
 dojo.inherits(xap.widgets.dojo.VerticalPanel, dojo.widget.HtmlWidget);
 
 dojo.lang.extend(xap.widgets.dojo.VerticalPanel, {
-	templateString: '<div dojoAttachPoint="div" style="overflow:hidden;">'
-		+ '<table cellPadding="0" cellSpacing="0" dojoAttachPoint="table" width="100%" height="100%"><tbody
dojoAttachPoint="tbody">'
+	templateString: '<table cellPadding="0" cellSpacing="0" dojoAttachPoint="table" style="overflow:hidden"><tbody
dojoAttachPoint="tbody">'
 	 	+ '<tr dojoAttachPoint="centerRow" style="height:100%">'
-		+ '<td dojoAttachPoint="centerTd" valign="top" align="left" height="100%" width="100%">'
-		+ '<table dojoAttachPoint="centerTable" border="0" width="100%" cellspacing="0" cellpadding="0">'
+		+ '<td dojoAttachPoint="centerTd" valign="top" align="left" style="height:100%;width:100%">'
+		+ '<table dojoAttachPoint="centerTable" border="0" style="width:100%" cellspacing="0"
cellpadding="0">'
 		+ '<tbody dojoAttachPoint="centerTbody"></tbody>' 
 		+ '</table></td></tr>'
-		+ '</tbody></table></div>',
+		+ '</tbody></table>',
 	templateCssPath: null ,
 	widgetType: "VerticalPanel",
 	isContainer: true,



Mime
View raw message