From cbb9886e129b1e938be755558c020fbc7368cc04 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 21 Sep 2015 17:01:44 +1200 Subject: Update mobile view layout --- web/app/view/main/MainMobile.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'web/app/view') diff --git a/web/app/view/main/MainMobile.js b/web/app/view/main/MainMobile.js index f32ad9fb1..0fd39ed26 100644 --- a/web/app/view/main/MainMobile.js +++ b/web/app/view/main/MainMobile.js @@ -19,27 +19,31 @@ Ext.define('Traccar.view.main.MainMobile', { requires: [ 'Traccar.view.device.Device', + 'Traccar.view.state.State', 'Traccar.view.map.Map' ], layout: 'border', defaults: { + header: false, collapsible: true, split: true }, items: [{ - collapsible: false, - region: 'center', + xtype: 'stateView', + region: 'east', + collapsed:true, + flex: 4 + }, { xtype: 'mapView', - header: false, + region: 'center', + collapsible: false, flex: 2 }, { - region: 'south', xtype: 'deviceView', - header: false, + region: 'south', flex: 1 }] - }); -- cgit v1.2.3