# HG changeset patch # User Raimund Renkert # Date 1318846236 0 # Node ID 9bf72f84728db4fb5711e72dc01e478a7a619385 # Parent ceb989d64cd219869bcd8bd3ad489cb4b4cc14e9 Show theme name in static text field. flys-client/trunk@2982 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r ceb989d64cd2 -r 9bf72f84728d flys-client/ChangeLog --- a/flys-client/ChangeLog Mon Oct 17 10:07:48 2011 +0000 +++ b/flys-client/ChangeLog Mon Oct 17 10:10:36 2011 +0000 @@ -1,3 +1,8 @@ +2011-10-17 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: + Show theme name in static text field. + 2011-10-17 Raimund Renkert Request redraw on attribute change. diff -r ceb989d64cd2 -r 9bf72f84728d flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Mon Oct 17 10:07:48 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Mon Oct 17 10:10:36 2011 +0000 @@ -13,7 +13,7 @@ import com.smartgwt.client.widgets.form.fields.SpinnerItem; import com.smartgwt.client.widgets.form.fields.ColorPickerItem; import com.smartgwt.client.widgets.form.fields.ComboBoxItem; -import com.smartgwt.client.widgets.form.fields.TextItem; +import com.smartgwt.client.widgets.form.fields.StaticTextItem; import com.smartgwt.client.widgets.events.ClickEvent; import com.smartgwt.client.widgets.events.ClickHandler; @@ -131,7 +131,7 @@ Theme t = facet.getTheme(); Style s = attributes.getStyle(t.getFacet(), t.getIndex()); - TextItem name = new TextItem("name", "Name"); + StaticTextItem name = new StaticTextItem("name", "Name"); name.setValue(facet.getName()); name.setTitleStyle("color:#000; width:120px"); name.setTitleAlign(Alignment.LEFT);