[PATCH] alignment clean up

Wald Commits scm-commit at wald.intevation.org
Mon Oct 22 13:17:33 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1540207047 -7200
# Node ID 342c122e3dfe8ca64c9cd4a094c1f65e7c682e20
# Parent  66476c93882f071f839007bd0562fd4978ab2406
alignment clean up

diff -r 66476c93882f -r 342c122e3dfe gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java	Mon Oct 22 11:51:53 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java	Mon Oct 22 13:17:27 2018 +0200
@@ -68,16 +68,13 @@
 
         this.errorItem.setShowTitle(false);
         this.errorItem.setVisible(true);
-        // this.errorItem.setColSpan();
         this.errorItem.setWidth("*"); // das ErrorItem soll den Rest ausfüllen
         sti.setShowTitle(false);
         sti.setValue(title);
-        // 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.addBlurHandler(blurHandler);
         if (focusHandler != null) {
@@ -91,7 +88,7 @@
         }
 
         setTitleOrientation(titleOrientation);
-        setNumCols(3); // default (Pegelname, Eingabefeld, ErrorMsg)
+        setNumCols(3); // default für 3 sichtbare Felder (Pegelname, Eingabefeld, ErrorMsg)
 
         if (values == null) {
             return;


More information about the Dive4Elements-commits mailing list