Author: lgiessmann Date: Wed Sep 21 03:39:11 2011 New Revision: 950
Log: gdl-frontend: Widgets: changed the style of the HashObjectPsiContainer
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/HashObjectPsiContainer.java branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/GDL_Widgets.css
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java Wed Sep 21 03:08:03 2011 (r949) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java Wed Sep 21 03:39:11 2011 (r950) @@ -41,6 +41,7 @@ private LoadScreenPanel loadScreenPanel = null; private final String GDL_PANEL_STYLE_NAME = "gdl_panel"; private final String CREATE_NEW_BUTTON_STYLE_NAME = "create_new_button"; + private final String HASH_OBJECT_PSI_CONTAINER_STYLE_NAME = "hash_object_psi_container"; private HashObjectPsiContainer hashObjectPsicontainer = null; @@ -96,7 +97,10 @@ public void setHashObjectPsiContainer(HashObjectPsiContainer psiContainer){ if(this.hashObjectPsicontainer != null) this.hashObjectPsicontainer.removeFromParent(); this.hashObjectPsicontainer = psiContainer; - if(this.hashObjectPsicontainer != null) this.contentPanel.insert(this.hashObjectPsicontainer, this.contentPanel.getWidgetCount()); + if(this.hashObjectPsicontainer != null){ + this.contentPanel.insert(this.hashObjectPsicontainer, this.contentPanel.getWidgetCount()); + this.hashObjectPsicontainer.addStyleName(this.HASH_OBJECT_PSI_CONTAINER_STYLE_NAME); + } }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/HashObjectPsiContainer.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/HashObjectPsiContainer.java Wed Sep 21 03:08:03 2011 (r949) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/HashObjectPsiContainer.java Wed Sep 21 03:39:11 2011 (r950) @@ -6,6 +6,7 @@
import com.google.gwt.event.dom.client.ClickEvent; 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.Button; import com.google.gwt.user.client.ui.CheckBox; @@ -26,6 +27,8 @@ this.initWidget(this.containerPanel); this.containerPanel.add(this.commitButton); this.commitButton.addClickHandler(new HashObjectPsiContainerClickHandler()); + DOM.setStyleAttribute(this.commitButton.getElement(), "width", "100%"); + DOM.setStyleAttribute(this.commitButton.getElement(), "marginTop", "1em"); }
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/GDL_Widgets.css ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/GDL_Widgets.css Wed Sep 21 03:08:03 2011 (r949) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/GDL_Widgets.css Wed Sep 21 03:39:11 2011 (r950) @@ -62,6 +62,12 @@ }
+.hash_object_psi_container { + border: rgb(134, 169, 203) 1px solid; + border-radius: 5px; +} + + .gdl_panel { margin-left:auto; margin-right:0;