You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/09/11 20:47:16 UTC
svn commit: r442345 - /incubator/xap/trunk/src/xap/widgets/Label.js
Author: mturyn
Date: Mon Sep 11 13:47:16 2006
New Revision: 442345
URL: http://svn.apache.org/viewvc?view=rev&rev=442345
Log:
Altered positioning style for enclosing DIV so we can set widget top and left correctly.
Modified:
incubator/xap/trunk/src/xap/widgets/Label.js
Modified: incubator/xap/trunk/src/xap/widgets/Label.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/Label.js?view=diff&rev=442345&r1=442344&r2=442345
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/Label.js (original)
+++ incubator/xap/trunk/src/xap/widgets/Label.js Mon Sep 11 13:47:16 2006
@@ -42,6 +42,7 @@
var tbody = document.createElement('tbody');
var tr = document.createElement('tr');
+ this.tbody=tbody ;
this.table.appendChild(tbody);
tbody.appendChild(tr);
@@ -60,7 +61,7 @@
xap.widgets.styleSet(this.table, {backgroundColor: '#eee', width:'100%', height: '100%'}); /* to remove */
xap.widgets.styleSet(this.td, {backgroundColor: '#eef', width:'100%', height: '100%'}); /* to remove */
- xap.widgets.styleSet(this._rootDomNode, {overflow:'hidden', position:'relative', backgroundColor:'gray'}); /* to remove */
+ xap.widgets.styleSet(this._rootDomNode, {overflow:'hidden', position:'absolute', backgroundColor:'gray'}); /* to remove? */
}
@@ -158,3 +159,6 @@
}
}
}
+
+
+