mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-03-20 22:50:06 +03:00
api-viewer: adapt and add flex for parameter coolumns
Allow to use space better on higher resolutions. Names, Defaults and Types can be read comfortably without the need of resizing the colum width manually each time. Cleanup trailing whithespace in the surrounding area. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bc6d4d50de
commit
cd115543df
@ -154,30 +154,33 @@ Ext.onReady(function() {
|
||||
stripeRows: true
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
{
|
||||
header: 'Name',
|
||||
dataIndex: 'name'
|
||||
dataIndex: 'name',
|
||||
flex: 1
|
||||
},
|
||||
{
|
||||
{
|
||||
header: 'Type',
|
||||
dataIndex: 'type',
|
||||
renderer: render_type,
|
||||
flex: 1
|
||||
},
|
||||
{
|
||||
header: 'Default',
|
||||
dataIndex: 'default',
|
||||
flex: 1
|
||||
},
|
||||
{
|
||||
header: 'Format',
|
||||
dataIndex: 'type',
|
||||
renderer: render_format,
|
||||
flex: 1
|
||||
flex: 2
|
||||
},
|
||||
{
|
||||
{
|
||||
header: 'Description',
|
||||
dataIndex: 'description',
|
||||
renderer: render_description,
|
||||
flex: 2
|
||||
flex: 6
|
||||
}
|
||||
]
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user