| author | shawn.f.cook | 2011-10-11 15:23:25 (EDT) |
|---|---|---|
| committer | Roberto E. Escobar | 2011-10-11 15:23:25 (EDT) |
| commit | 65c54aaf924d5b40198b4b962589853ba31ab4c9 (patch) (side-by-side diff) | |
| tree | 535f214f7d26b15efdb372309b9658c30f26ab4e | |
| parent | c60b79e3aca19db0d32628f2806ed0fb0be2d0b0 (diff) | |
| download | org.eclipse.osee-65c54aaf924d5b40198b4b962589853ba31ab4c9.zip org.eclipse.osee-65c54aaf924d5b40198b4b962589853ba31ab4c9.tar.gz org.eclipse.osee-65c54aaf924d5b40198b4b962589853ba31ab4c9.tar.bz2 | |
feature[ats_Q9NLC]: Update attributeComponent label alignment
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeAttributeComponent.java b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeAttributeComponent.java index 1b13704..b363726 100644 --- a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeAttributeComponent.java +++ b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeAttributeComponent.java @@ -15,7 +15,6 @@ import java.util.ArrayList; import java.util.Collection; import org.eclipse.osee.display.api.components.AttributeComponent; import org.eclipse.osee.display.view.web.CssConstants; -import com.vaadin.ui.Alignment; import com.vaadin.ui.HorizontalLayout; import com.vaadin.ui.Label; import com.vaadin.ui.VerticalLayout; @@ -77,9 +76,6 @@ public class OseeAttributeComponent extends VerticalLayout implements AttributeC attrLabelsLayout.addComponent(attrLabel); attrValuesLayout.addComponent(attrValue); - - attrLabelsLayout.setComponentAlignment(attrLabel, Alignment.MIDDLE_RIGHT); - attrValuesLayout.setComponentAlignment(attrValue, Alignment.MIDDLE_LEFT); } Label spacer = new Label(""); diff --git a/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css b/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css index 20cc510..4d42665 100644 --- a/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css +++ b/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css @@ -125,10 +125,12 @@ } .osee-attributelabel { + text-align:right; } .osee-attributevalue { font-weight:bold; + text-align:left; } .osee-attributestitlelabel { |

