ui: acl view: make path column flex, but enforce minWidth
with namespaces the paths can get pretty complex, so make the path column take some flex space too, but not too much to avoid making it look odd for the short paths we have otherwise Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
33612525e1
commit
5664b41c30
|
@ -174,7 +174,8 @@ Ext.define('PBS.config.ACLView', {
|
|||
columns: [
|
||||
{
|
||||
header: gettext('Path'),
|
||||
width: 250,
|
||||
minWidth: 250,
|
||||
flex: 4,
|
||||
sortable: true,
|
||||
renderer: Ext.String.htmlEncode,
|
||||
dataIndex: 'path',
|
||||
|
@ -194,7 +195,7 @@ Ext.define('PBS.config.ACLView', {
|
|||
},
|
||||
{
|
||||
header: gettext('Propagate'),
|
||||
flex: 1, // last element flex looks better
|
||||
flex: 9, // last element flex looks better
|
||||
sortable: true,
|
||||
renderer: Proxmox.Utils.format_boolean,
|
||||
dataIndex: 'propagate',
|
||||
|
|
Loading…
Reference in New Issue