all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 2/2] ui: configuration: options: don't use large child for hints
Date: Mon, 30 Nov 2026 15:29:58 +0100	[thread overview]
Message-ID: <20261130143002.3180328-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20261130143002.3180328-1-d.csapak@proxmox.com>

The hints are size restricted, but a 'large' child doubles the width of
the input panel, leaving a large unused space there.

Simply use a normal-sized custom child to show the hint.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 ui/src/configuration/options.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/src/configuration/options.rs b/ui/src/configuration/options.rs
index 86ee947b..12daddae 100644
--- a/ui/src/configuration/options.rs
+++ b/ui/src/configuration/options.rs
@@ -97,7 +97,7 @@ thread_local! {
                     "remote-task-max-days",
                     &REMOTE_TASK_MAX_DAYS_SCHEMA,
                 )
-                .with_large_custom_child(hint(tr!(
+                .with_custom_child(hint(tr!(
                     "The current day counts as one day, days start at 00:00 UTC. Lowering the \
                     value permanently removes older tasks within an hour."
                 )))
@@ -117,7 +117,7 @@ thread_local! {
                     "task-log-max-days",
                     &TASK_LOG_MAX_DAYS_SCHEMA,
                 )
-                .with_large_custom_child(hint(tr!(
+                .with_custom_child(hint(tr!(
                     "Whole archive files are removed, so task logs may be kept longer. Lowering \
                     the value permanently removes older archives at midnight."
                 )))
-- 
2.47.3





  reply	other threads:[~2026-11-30 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 14:29 [PATCH datacenter-manager 1/2] ui: configuration: options: don't show vertical scrollbar for field Dominik Csapak
2026-11-30 14:29 ` Dominik Csapak [this message]
2026-11-30 20:15 ` applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130143002.3180328-2-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal