Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 527:902609b5cc79
Added a navigation panel to the bottom of the theme control panel to move themes up/down (function not implemented yet).
flys-client/trunk@2007 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 25 May 2011 16:23:16 +0000 |
parents | 0785a8ba5e6d |
children | c17c593f8732 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java Wed May 25 14:58:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java Wed May 25 16:23:16 2011 +0000 @@ -37,6 +37,9 @@ public static final int DEFAULT_CHART_WIDTH = 600; public static final int DEFAULT_CHART_HEIGHT = 500; + public static final int THEMEPANEL_MIN_WIDTH = 200; + + /** The canvas that wraps the chart toolbar.*/ protected Canvas tbarPanel; @@ -69,7 +72,8 @@ tbarPanel.setBorder("1px solid black"); tbarPanel.setHeight(30); left.setBorder("1px solid black"); - left.setWidth("25%"); + left.setWidth(THEMEPANEL_MIN_WIDTH); + left.setMinWidth(THEMEPANEL_MIN_WIDTH); right.setWidth("*"); VLayout vLayout = new VLayout();