[pdm-devel] [PATCH datacenter-manager v3 9/9] ui: dashboard: guest panel: improve column widths
Dominik Csapak
d.csapak at proxmox.com
Tue Aug 26 14:31:25 CEST 2025
Giving the text much more space than the numbers is a bit counter
productive here, since the text are fixed size, but the values can get
much wider if they're large enough. With both having the same space
(flex 1), it still is perfectly visible with the minimum width of the
component.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
ui/src/dashboard/guest_panel.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/dashboard/guest_panel.rs b/ui/src/dashboard/guest_panel.rs
index 1e6a9c7..c92e2cf 100644
--- a/ui/src/dashboard/guest_panel.rs
+++ b/ui/src/dashboard/guest_panel.rs
@@ -81,7 +81,7 @@ fn columns(guest_type: GuestType) -> Rc<Vec<DataTableHeader<StatusRow>>> {
})
.into(),
DataTableColumn::new("text")
- .flex(5)
+ .flex(1)
.render(|item: &StatusRow| {
match item {
StatusRow::State(GuestState::Running, _) => tr!("running"),
--
2.47.2
More information about the pdm-devel
mailing list