From 0a6d4e4cf67d0ff21cf5fb7ca41c95034dcaeb57 Mon Sep 17 00:00:00 2001 From: Emmanuel Kasper Date: Mon, 29 Feb 2016 13:50:08 +0100 Subject: [PATCH] move tabs of a sub tabpanel to the left by default This takes a bit of screensize, but is fine as long as the browser horizontal screen size is at least 1280 px ( 92 % of desktop users in 2016 according to StatsCounter) Still usable for the remaining small displays, but horizontal scrolling is needed for grids with a lot of columns. Moving the sub tabs to the top left provides a minor usability improvement as all controls are now grouped together in the same screen region. --- www/manager6/panel/SubConfigPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/panel/SubConfigPanel.js b/www/manager6/panel/SubConfigPanel.js index 849fd041..e0a76192 100644 --- a/www/manager6/panel/SubConfigPanel.js +++ b/www/manager6/panel/SubConfigPanel.js @@ -3,6 +3,8 @@ Ext.define('PVE.panel.SubConfig', { alias: ['widget.pvePanelSubConfig'], configPrefix: undefined, + tabPosition: 'left', + tabRotation: 0, getHState: function(itemId) { /*jslint confusion: true */ @@ -45,8 +47,6 @@ Ext.define('PVE.panel.SubConfig', { } Ext.apply(me, { - plain: true, - tabPosition: 'bottom', listeners: { afterrender: function(tp) { var first = tp.items.get(0);