comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java @ 1433:d73f503f2465

Added a label that displays the current map projection to the MapToolbar. flys-client/trunk@3388 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Dec 2011 14:39:51 +0000
parents f3410c96f51a
children c1292aab6aa9
comparison
equal deleted inserted replaced
1432:40f4137a2c31 1433:d73f503f2465
1 package de.intevation.flys.client.client.ui.map; 1 package de.intevation.flys.client.client.ui.map;
2 2
3 import com.smartgwt.client.types.Alignment;
3 import com.smartgwt.client.widgets.Label; 4 import com.smartgwt.client.widgets.Label;
4 import com.smartgwt.client.widgets.layout.HLayout; 5 import com.smartgwt.client.widgets.layout.HLayout;
5 6
6 import org.gwtopenmaps.openlayers.client.LonLat; 7 import org.gwtopenmaps.openlayers.client.LonLat;
7 import org.gwtopenmaps.openlayers.client.Map; 8 import org.gwtopenmaps.openlayers.client.Map;
29 30
30 this.x = new Label(); 31 this.x = new Label();
31 this.y = new Label(); 32 this.y = new Label();
32 Label d = new Label("|"); 33 Label d = new Label("|");
33 34
34 setWidth(60); 35 setAlign(Alignment.RIGHT);
35 setMembersMargin(2); 36 setMembersMargin(2);
36 37
38 setWidth(150);
37 x.setWidth(25); 39 x.setWidth(25);
38 y.setWidth(25); 40 y.setWidth(25);
39 d.setWidth(5); 41 d.setWidth(5);
40 42
41 addMember(x); 43 addMember(x);

http://dive4elements.wald.intevation.org