KMP-3: Changed layout of mdm grid's parent panel to 'fit'

This commit is contained in:
Ronald Toussaint 2016-12-08 15:04:21 +01:00
parent 7385ef179e
commit 2a052020b3

View File

@ -14,12 +14,12 @@ Zarafa.plugins.mdm.settings.MDMSettingsWidget = Ext.extend(Zarafa.settings.ui.Se
{ {
config = config || {}; config = config || {};
var store = new Zarafa.plugins.mdm.data.MDMDeviceStore(); var store = new Zarafa.plugins.mdm.data.MDMDeviceStore();
Ext.applyIf(config, { Ext.applyIf(config, {
title : _('Mobile Devices', 'plugin_mdm'), title : _('Mobile Devices', 'plugin_mdm'),
items : [{ items : [{
xtype : 'container', xtype : 'container',
layout : 'column', layout: 'fit',
items : [{ items : [{
xtype : 'grid', xtype : 'grid',
name : _('Devices', 'plugin_mdm'), name : _('Devices', 'plugin_mdm'),
@ -96,7 +96,7 @@ Zarafa.plugins.mdm.settings.MDMSettingsWidget = Ext.extend(Zarafa.settings.ui.Se
/** /**
* Function which handles the click event on the "Wipe Device" button, displays * Function which handles the click event on the "Wipe Device" button, displays
* a MessageBox for the user to confirm the wipe action. The wipe action is * a MessageBox for the user to confirm the wipe action. The wipe action is
* handled by the onWipeDevice function. * handled by the onWipeDevice function.
*/ */
onWipeBtn : function() onWipeBtn : function()