Mercurial > dive4elements > river
changeset 6161:6de8304d8b54
Use HLayout instead of VLayout.
Looks much nicer and makes the charts readable
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 03 Jun 2013 10:22:25 +0200 |
parents | 938d0ce85b33 |
children | 2a3f5e0e3ba5 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/BedMultiPeriodPanel.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;