file browser: align size column to end/right

much easier to compare the sizes once lined up

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-15 10:16:46 +02:00
parent 427685c6b6
commit b33c1d6073

View File

@ -257,6 +257,7 @@ Ext.define("Proxmox.window.FileBrowser", {
{
text: gettext('Size'),
dataIndex: 'sizedisplay',
align: 'end',
sorter: {
sorterFn: function(a, b) {
if (a.data.type === 'd' && b.data.type !== 'd') {