comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java @ 9550:66476c93882f

Alignment test 2
author gernotbelger
date Mon, 22 Oct 2018 11:51:53 +0200
parents c86ae5562e68
children 342c122e3dfe
comparison
equal deleted inserted replaced
9549:c86ae5562e68 9550:66476c93882f
66 if (errorMsg != null) 66 if (errorMsg != null)
67 this.errorItem.setValue(errorMsg); 67 this.errorItem.setValue(errorMsg);
68 68
69 this.errorItem.setShowTitle(false); 69 this.errorItem.setShowTitle(false);
70 this.errorItem.setVisible(true); 70 this.errorItem.setVisible(true);
71 this.errorItem.setColSpan(2); 71 // this.errorItem.setColSpan();
72 this.errorItem.setWidth("*"); // das ErrorItem soll den Rest ausfüllen
72 sti.setShowTitle(false); 73 sti.setShowTitle(false);
73 sti.setValue(title); 74 sti.setValue(title);
74 sti.setColSpan(1); 75 // sti.setColSpan(1);
75 76 sti.setWidth(60); // hat irgendwie keine Auswirkung
77
78 this.ti.setWidth(120); // Das Eingabefeld - Änderungen an der width funktionieren
76 this.ti.setShowTitle(false); 79 this.ti.setShowTitle(false);
77 this.ti.setColSpan(1); 80 // this.ti.setColSpan(1);
81
78 this.ti.addBlurHandler(blurHandler); 82 this.ti.addBlurHandler(blurHandler);
79 if (focusHandler != null) { 83 if (focusHandler != null) {
80 this.ti.addFocusHandler(focusHandler); 84 this.ti.addFocusHandler(focusHandler);
81 } 85 }
82 86
85 } else { 89 } else {
86 setFields(sti, this.ti, this.errorItem); 90 setFields(sti, this.ti, this.errorItem);
87 } 91 }
88 92
89 setTitleOrientation(titleOrientation); 93 setTitleOrientation(titleOrientation);
90 setNumCols(4); 94 setNumCols(3); // default (Pegelname, Eingabefeld, ErrorMsg)
91 95
92 if (values == null) { 96 if (values == null) {
93 return; 97 return;
94 } 98 }
95 99

http://dive4elements.wald.intevation.org