changeset 9550:66476c93882f

Alignment test 2
author gernotbelger
date Mon, 22 Oct 2018 11:51:53 +0200
parents c86ae5562e68
children 342c122e3dfe
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java	Mon Oct 22 10:50:50 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java	Mon Oct 22 11:51:53 2018 +0200
@@ -68,13 +68,17 @@
 
         this.errorItem.setShowTitle(false);
         this.errorItem.setVisible(true);
-        this.errorItem.setColSpan(2);
+        // this.errorItem.setColSpan();
+        this.errorItem.setWidth("*"); // das ErrorItem soll den Rest ausfüllen
         sti.setShowTitle(false);
         sti.setValue(title);
-        sti.setColSpan(1);
+        // sti.setColSpan(1);
+        sti.setWidth(60); // hat irgendwie keine Auswirkung
 
+        this.ti.setWidth(120); // Das Eingabefeld - Änderungen an der width funktionieren
         this.ti.setShowTitle(false);
-        this.ti.setColSpan(1);
+        // this.ti.setColSpan(1);
+
         this.ti.addBlurHandler(blurHandler);
         if (focusHandler != null) {
             this.ti.addFocusHandler(focusHandler);
@@ -87,7 +91,7 @@
         }
 
         setTitleOrientation(titleOrientation);
-        setNumCols(4);
+        setNumCols(3); // default (Pegelname, Eingabefeld, ErrorMsg)
 
         if (values == null) {
             return;

http://dive4elements.wald.intevation.org