mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:59:33 +00:00
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.
This commit is contained in:
parent
f2782813cd
commit
0a6d4e4cf6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user