]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
file browser: align size column to end/right
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 15 May 2022 08:16:46 +0000 (10:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 15 May 2022 08:16:49 +0000 (10:16 +0200)
much easier to compare the sizes once lined up

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/FileBrowser.js

index 570ad8f5a2201f3c7e26b0049660bab264ae1878..efb00b1a748b833658d00bb8748ac68f1a9bb04d 100644 (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') {