changeset 1388:4b177fd52f06

Expand the map selection section in helper panel on project start. flys-client/trunk@3205 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 09 Nov 2011 17:07:36 +0000
parents 3cbc7fbfff0e
children d29a9fa10313
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Nov 08 14:48:59 2011 +0000
+++ b/flys-client/ChangeLog	Wed Nov 09 17:07:36 2011 +0000
@@ -1,3 +1,8 @@
+2011-11-08  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/ParameterList.java:
+	  Expand the map selection section in helper panel on project start.
+
 2011-11-08  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Tue Nov 08 14:48:59 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Wed Nov 09 17:07:36 2011 +0000
@@ -202,7 +202,7 @@
 
 
     protected SectionStack createSectionStack() {
-        SectionStack stack = new SectionStack();
+        final SectionStack stack = new SectionStack();
         stack.setHeight100();
         stack.setCanResizeSections(true);
         stack.setVisibilityMode(VisibilityMode.MULTIPLE);
@@ -214,7 +214,7 @@
         helperPanel = new VLayout() {
             public void addMember(Canvas component) {
                 super.addMember(component);
-                helperSection.setExpanded(true);
+                stack.expandSection(helperSection.getID());
             }
 
             public void removeMembers(Canvas[] components) {

http://dive4elements.wald.intevation.org