public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-toolkit v2] fix #5831: ui: right-align s.m.a.r.t numerical table data
@ 2024-11-11 13:30 Timothy Nicholson
  0 siblings, 0 replies; only message in thread
From: Timothy Nicholson @ 2024-11-11 13:30 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Timothy Nicholson <t.nicholson@proxmox.com>
---
changes since v1 [0]:
- no right-align on freeform field (real-value)

thanks for feedback :)
[0]: https://lore.proxmox.com/pve-devel/20241111094050.22619-1-t.nicholson@proxmox.com/

 src/window/DiskSmart.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/window/DiskSmart.js b/src/window/DiskSmart.js
index 9096fec..18ff55f 100644
--- a/src/window/DiskSmart.js
+++ b/src/window/DiskSmart.js
@@ -29,6 +29,7 @@ Ext.define('Proxmox.window.DiskSmart', {
 		    text: 'ID',
 		    dataIndex: 'id',
 		    width: 50,
+		    align: 'right',
 		},
 		{
 		    text: gettext('Attribute'),
@@ -45,16 +46,19 @@ Ext.define('Proxmox.window.DiskSmart', {
 		    text: gettext('Normalized'),
 		    dataIndex: 'real-normalized',
 		    width: 60,
+		    align: 'right',
 		},
 		{
 		    text: gettext('Threshold'),
 		    dataIndex: 'threshold',
 		    width: 60,
+		    align: 'right',
 		},
 		{
 		    text: gettext('Worst'),
 		    dataIndex: 'worst',
 		    width: 60,
+		    align: 'right',
 		},
 		{
 		    text: gettext('Flags'),
-- 
2.39.5


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-11 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-11 13:30 [pve-devel] [PATCH widget-toolkit v2] fix #5831: ui: right-align s.m.a.r.t numerical table data Timothy Nicholson

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