aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/view/ApplicationView.ui.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-16 16:55:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-16 16:55:44 +1300
commit6d48729efb4bd1ac34bba003a8a4313a70a02cce (patch)
treeb834c03b8aeb3302bedb949a63f6b6d0ed4f2600 /src/org/traccar/web/client/view/ApplicationView.ui.xml
parent11b7037755c08654fba3b3781f83445244582d59 (diff)
downloadtrackermap-web-6d48729efb4bd1ac34bba003a8a4313a70a02cce.tar.gz
trackermap-web-6d48729efb4bd1ac34bba003a8a4313a70a02cce.tar.bz2
trackermap-web-6d48729efb4bd1ac34bba003a8a4313a70a02cce.zip
Handle clicks on markers (fix #8)
Diffstat (limited to 'src/org/traccar/web/client/view/ApplicationView.ui.xml')
-rw-r--r--src/org/traccar/web/client/view/ApplicationView.ui.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/view/ApplicationView.ui.xml b/src/org/traccar/web/client/view/ApplicationView.ui.xml
index 2faae1e7..0b05ab9b 100644
--- a/src/org/traccar/web/client/view/ApplicationView.ui.xml
+++ b/src/org/traccar/web/client/view/ApplicationView.ui.xml
@@ -5,7 +5,10 @@
xmlns:container="urn:import:com.sencha.gxt.widget.core.client.container"
xmlns:gxt="urn:import:com.sencha.gxt.widget.core.client">
- <ui:with type="com.sencha.gxt.core.client.util.Margins" field="westMargins">
+ <ui:with type="com.sencha.gxt.core.client.util.Margins" field="topMargins">
+ <ui:attributes top="5" right="0" bottom="0" left="0" />
+ </ui:with>
+ <ui:with type="com.sencha.gxt.core.client.util.Margins" field="westMargins">
<ui:attributes top="5" right="5" bottom="0" left="5" />
</ui:with>
<ui:with type="com.sencha.gxt.core.client.util.Margins" field="centerMargins">
@@ -25,10 +28,21 @@
<ui:attributes size="0.25" maxSize="2147483647" margins="{southMargins}" split="true" />
</ui:with>
+ <ui:with type="com.sencha.gxt.widget.core.client.container.BorderLayoutContainer.BorderLayoutData" field="bottomData">
+ <ui:attributes size="0.5" maxSize="2147483647" margins="{topMargins}" split="true" />
+ </ui:with>
+
<container:Viewport>
<container:BorderLayoutContainer>
<container:west layoutData="{westData}">
- <gxt:ContentPanel ui:field="devicePanel" />
+ <container:BorderLayoutContainer>
+ <container:center>
+ <gxt:ContentPanel ui:field="devicePanel" />
+ </container:center>
+ <container:south layoutData="{bottomData}">
+ <gxt:ContentPanel ui:field="statePanel" />
+ </container:south>
+ </container:BorderLayoutContainer>
</container:west>
<container:center layoutData="{centerData}">
<gxt:ContentPanel ui:field="mapPanel" />