Mercurial > dive4elements > river
changeset 592:f8f8982e2d5c
The comboboxes to select the calculation mode are no longer editable.
flys-client/trunk@2188 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 21 Jun 2011 17:18:47 +0000 |
parents | 62b65b7b5c7c |
children | c0477626ae6a |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue Jun 21 17:09:31 2011 +0000 +++ b/flys-client/ChangeLog Tue Jun 21 17:18:47 2011 +0000 @@ -1,3 +1,8 @@ +2011-06-21 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: + The combobox is no longer editable now. + 2011-06-21 Ingo Weinzierl <ingo@intevation.de> flys/issue21 (Gleiches Projekt kann mehr als einmal gleichzeitig geƶffnet werden)
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java Tue Jun 21 17:09:31 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java Tue Jun 21 17:18:47 2011 +0000 @@ -10,7 +10,7 @@ import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.Label; import com.smartgwt.client.widgets.form.DynamicForm; -import com.smartgwt.client.widgets.form.fields.ComboBoxItem; +import com.smartgwt.client.widgets.form.fields.SelectItem; import com.smartgwt.client.widgets.layout.HLayout; import com.smartgwt.client.widgets.layout.VLayout; @@ -122,7 +122,9 @@ label.setValign(VerticalAlignment.TOP); label.setHeight(20); - ComboBoxItem combobox = new ComboBoxItem(d.getLabel()); + SelectItem combobox = new SelectItem(); + combobox.setTitle(d.getLabel()); + combobox.setWidth(250); LinkedHashMap<String, String> it = new LinkedHashMap<String, String>();