# HG changeset patch # User gernotbelger # Date 1540201913 -7200 # Node ID 66476c93882f071f839007bd0562fd4978ab2406 # Parent c86ae5562e68b564be4be4f8c20d71ab21b69d92 Alignment test 2 diff -r c86ae5562e68 -r 66476c93882f 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 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;