[pmg-devel] [PATCH pmg-gui 2/2] align spacing with pve

Dominik Csapak d.csapak at proxmox.com
Thu Apr 16 15:39:52 CEST 2020


it really irked me that the buttons/text was a few pixels off in pmg....

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/MainView.js       | 3 ++-
 js/QuarantineView.js | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/js/MainView.js b/js/MainView.js
index d9a4820..adbfb74 100644
--- a/js/MainView.js
+++ b/js/MainView.js
@@ -157,13 +157,14 @@ Ext.define('PMG.MainView', {
 		type: 'hbox',
 		align: 'middle'
 	    },
-	    margin: '2 5 2 5',
+	    margin: '2 0 2 5',
 	    height: 38,
 	    items: [
 		{
 		    xtype: 'proxmoxlogo'
 		},
 		{
+		    padding: '0 0 0 5',
 		    xtype: 'versioninfo'
 		},
 		{
diff --git a/js/QuarantineView.js b/js/QuarantineView.js
index 5abda3c..3d0e9e1 100644
--- a/js/QuarantineView.js
+++ b/js/QuarantineView.js
@@ -227,13 +227,14 @@ Ext.define('PMG.QuarantineView', {
 		type: 'hbox',
 		align: 'middle'
 	    },
-	    margin: '2 5 2 5',
+	    margin: '2 0 2 5',
 	    height: 38,
 	    items: [
 		{
 		    xtype: 'proxmoxlogo'
 		},
 		{
+		    padding: '0 0 0 5',
 		    xtype: 'versioninfo'
 		},
 		{
-- 
2.20.1




More information about the pmg-devel mailing list