[Dive4elements-commits] [PATCH 1 of 2] Use HLayout instead of VLayout

Wald Commits scm-commit at wald.intevation.org
Mon Jun 3 10:32:22 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370247745 -7200
# Node ID 6de8304d8b546f9a4d3fac881811dbee9436e94d
# Parent  938d0ce85b3328540a32ca4612c448f8ff15241a
Use HLayout instead of VLayout.

    Looks much nicer and makes the charts readable

diff -r 938d0ce85b33 -r 6de8304d8b54 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/BedMultiPeriodPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/BedMultiPeriodPanel.java	Mon Jun 03 10:21:58 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/BedMultiPeriodPanel.java	Mon Jun 03 10:22:25 2013 +0200
@@ -11,7 +11,7 @@
 import com.smartgwt.client.widgets.Canvas;
 import com.smartgwt.client.widgets.events.ResizedEvent;
 import com.smartgwt.client.widgets.events.ResizedHandler;
-import com.smartgwt.client.widgets.layout.VLayout;
+import com.smartgwt.client.widgets.layout.HLayout;
 
 import org.dive4elements.river.client.client.ui.MultiPeriodPanel;
 
@@ -28,7 +28,7 @@
     protected Canvas createHelper() {
         chartContainer1 = new BedCampaignChart(artifact, this);
         chartContainer2 = new BedloadCampaignChart(artifact, this);
-        VLayout layout = new VLayout();
+        HLayout layout = new HLayout();
         layout.addMember(chartContainer1);
         layout.addMember(chartContainer2);
         return layout;


More information about the Dive4elements-commits mailing list