comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DoubleArrayPanel.java @ 9551:342c122e3dfe

alignment clean up
author gernotbelger
date Mon, 22 Oct 2018 13:17:27 +0200
parents 66476c93882f
children
comparison
equal deleted inserted replaced
9550:66476c93882f 9551:342c122e3dfe
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();
72 this.errorItem.setWidth("*"); // das ErrorItem soll den Rest ausfüllen 71 this.errorItem.setWidth("*"); // das ErrorItem soll den Rest ausfüllen
73 sti.setShowTitle(false); 72 sti.setShowTitle(false);
74 sti.setValue(title); 73 sti.setValue(title);
75 // sti.setColSpan(1);
76 sti.setWidth(60); // hat irgendwie keine Auswirkung 74 sti.setWidth(60); // hat irgendwie keine Auswirkung
77 75
78 this.ti.setWidth(120); // Das Eingabefeld - Änderungen an der width funktionieren 76 this.ti.setWidth(120); // Das Eingabefeld - Änderungen an der width funktionieren
79 this.ti.setShowTitle(false); 77 this.ti.setShowTitle(false);
80 // this.ti.setColSpan(1);
81 78
82 this.ti.addBlurHandler(blurHandler); 79 this.ti.addBlurHandler(blurHandler);
83 if (focusHandler != null) { 80 if (focusHandler != null) {
84 this.ti.addFocusHandler(focusHandler); 81 this.ti.addFocusHandler(focusHandler);
85 } 82 }
89 } else { 86 } else {
90 setFields(sti, this.ti, this.errorItem); 87 setFields(sti, this.ti, this.errorItem);
91 } 88 }
92 89
93 setTitleOrientation(titleOrientation); 90 setTitleOrientation(titleOrientation);
94 setNumCols(3); // default (Pegelname, Eingabefeld, ErrorMsg) 91 setNumCols(3); // default für 3 sichtbare Felder (Pegelname, Eingabefeld, ErrorMsg)
95 92
96 if (values == null) { 93 if (values == null) {
97 return; 94 return;
98 } 95 }
99 96

http://dive4elements.wald.intevation.org