Ignore:
Timestamp:
09/21/11 10:39:11 (14 years ago)
Author:
lgiessmann
Message:

gdl-frontend: Widgets: changed the style of the HashObjectPsiContainer?

Location:
branches/gdl-frontend/src/anaToMia/GDL_Widgets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java

    r949 r950  
    4242        private final String GDL_PANEL_STYLE_NAME = "gdl_panel";
    4343        private final String CREATE_NEW_BUTTON_STYLE_NAME = "create_new_button";
     44        private final String HASH_OBJECT_PSI_CONTAINER_STYLE_NAME = "hash_object_psi_container";
    4445        private HashObjectPsiContainer hashObjectPsicontainer = null;
    4546       
     
    9798                if(this.hashObjectPsicontainer != null) this.hashObjectPsicontainer.removeFromParent();
    9899                this.hashObjectPsicontainer = psiContainer;
    99                 if(this.hashObjectPsicontainer != null) this.contentPanel.insert(this.hashObjectPsicontainer, this.contentPanel.getWidgetCount());
     100                if(this.hashObjectPsicontainer != null){
     101                        this.contentPanel.insert(this.hashObjectPsicontainer, this.contentPanel.getWidgetCount());
     102                        this.hashObjectPsicontainer.addStyleName(this.HASH_OBJECT_PSI_CONTAINER_STYLE_NAME);
     103                }
    100104        }
    101105       
  • TabularUnified branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/HashObjectPsiContainer.java

    r949 r950  
    77import com.google.gwt.event.dom.client.ClickEvent;
    88import com.google.gwt.event.dom.client.ClickHandler;
     9import com.google.gwt.user.client.DOM;
    910import com.google.gwt.user.client.Window;
    1011import com.google.gwt.user.client.ui.Button;
     
    2728                this.containerPanel.add(this.commitButton);
    2829                this.commitButton.addClickHandler(new HashObjectPsiContainerClickHandler());
     30                DOM.setStyleAttribute(this.commitButton.getElement(), "width", "100%");
     31                DOM.setStyleAttribute(this.commitButton.getElement(), "marginTop", "1em");
    2932        }
    3033       
  • TabularUnified branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/GDL_Widgets.css

    r949 r950  
    6363
    6464
     65.hash_object_psi_container {
     66  border: rgb(134, 169, 203) 1px solid;
     67  border-radius: 5px;
     68}
     69
     70
    6571.gdl_panel {
    6672  margin-left:auto;
Note: See TracChangeset for help on using the changeset viewer.