public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-toolkit 1/1] window: safe destroy: make note more visible
@ 2021-12-13  8:25 Fabian Ebner
  2021-12-13  8:25 ` [pve-devel] [PATCH manager 1/1] window: safe destroy guest: add note that referenced disks are destroyed Fabian Ebner
  2022-01-13 12:42 ` [pve-devel] applied: [PATCH widget-toolkit 1/1] window: safe destroy: make note more visible Thomas Lamprecht
  0 siblings, 2 replies; 4+ messages in thread
From: Fabian Ebner @ 2021-12-13  8:25 UTC (permalink / raw)
  To: pve-devel

by not using a smaller font size and using the pmx-hint class. Also
don't align to the middle, as everything else is left-aligned.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---

AFAICT, the only current user is datastore deletion in PBS and IMHO
it doesn't look worse after these changes.

 src/window/SafeDestroy.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/window/SafeDestroy.js b/src/window/SafeDestroy.js
index ead0e04..474c21e 100644
--- a/src/window/SafeDestroy.js
+++ b/src/window/SafeDestroy.js
@@ -159,15 +159,12 @@ Ext.define('Proxmox.window.SafeDestroy', {
 			hidden: true,
 			layout: {
 			    type: 'vbox',
-			    align: 'middle',
 			},
-			height: 25,
 			items: [
 			    {
 				xtype: 'component',
 				reference: 'noteCmp',
-				width: '300px',
-				style: 'font-size: smaller; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;',
+				userCls: 'pmx-hint',
 			    },
 			],
 		    },
-- 
2.30.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-13 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13  8:25 [pve-devel] [PATCH widget-toolkit 1/1] window: safe destroy: make note more visible Fabian Ebner
2021-12-13  8:25 ` [pve-devel] [PATCH manager 1/1] window: safe destroy guest: add note that referenced disks are destroyed Fabian Ebner
2022-01-13 16:16   ` [pve-devel] applied: " Thomas Lamprecht
2022-01-13 12:42 ` [pve-devel] applied: [PATCH widget-toolkit 1/1] window: safe destroy: make note more visible Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal