[isidorus-cvs] r627 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base container

lgiessmann at common-lisp.net lgiessmann at common-lisp.net
Fri Jul 15 11:10:50 UTC 2011


Author: lgiessmann
Date: Fri Jul 15 04:10:50 2011
New Revision: 627

Log:
gdl-frontend: Widgets: changed the overflow style of the inner elements of GdlList and GdlUnit to visible; changed the default property of GdlPosition, so the default position style is set ot static, if no one was set by the user

Modified:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java	Fri Jul 15 03:50:29 2011	(r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java	Fri Jul 15 04:10:50 2011	(r627)
@@ -115,6 +115,7 @@
 		if(widget == null) return;
 		
 		if(this.getPositionStyle() != null) DOM.setStyleAttribute(widget.getElement(), "position", this.getPositionStyle().getCssValue());
+		else DOM.setStyleAttribute(widget.getElement(), "position", "static");
 		if(this.getTop() != null) DOM.setStyleAttribute(widget.getElement(), "top", this.getTop().getCssValue());
 		if(this.getRight() != null) DOM.setStyleAttribute(widget.getElement(), "right", this.getRight().getCssValue());
 		if(this.getBottom() != null) DOM.setStyleAttribute(widget.getElement(), "bottom", this.getBottom().getCssValue());

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Fri Jul 15 03:50:29 2011	(r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java	Fri Jul 15 04:10:50 2011	(r627)
@@ -12,6 +12,7 @@
 import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.ui.AbsolutePanel;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.HorizontalPanel;
 import com.google.gwt.user.client.ui.RootPanel;

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java	Fri Jul 15 03:50:29 2011	(r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java	Fri Jul 15 04:10:50 2011	(r627)
@@ -213,6 +213,7 @@
 		
 		public ListWidget(){
 			initWidget(this.basePanel);
+			DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
 			this.listElement = DOM.createElement("ul");
 			this.basePanel.getElement().insertFirst(this.listElement);
 		}
@@ -220,6 +221,7 @@
 		
 		public ListWidget(boolean ordered){
 			initWidget(this.basePanel);
+			DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
 			if(ordered) this.listElement = DOM.createElement("ol");
 			else this.listElement = DOM.createElement("ul");
 			this.basePanel.getElement().insertFirst(this.listElement);

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java	Fri Jul 15 03:50:29 2011	(r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java	Fri Jul 15 04:10:50 2011	(r627)
@@ -1303,6 +1303,7 @@
 			if(tmRepresentative == null) throw new ExecutionException("tmRepresentative must be set");
 			this.tmRepresentative = tmRepresentative;
 			initWidget(this.basePanel);
+			DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
 			this.fieldset.appendChild(this.legend);
 			this.basePanel.getElement().appendChild(this.fieldset);
 			DOM.setStyleAttribute(this.legend, "float", "left");




More information about the Isidorus-cvs mailing list