public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH yew-widget-toolkit 1/1] widget: input panel: use correct column for custom childs
Date: Thu, 19 Dec 2024 13:09:16 +0100	[thread overview]
Message-ID: <20241219120920.2046373-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20241219120920.2046373-1-d.csapak@proxmox.com>

we added a 'padding column' recently, and we forgot to adapt
the custom childs for that.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
technically not required, but otherwise the radiobuttons
in pdm ui patch are not properly placed.

 src/widget/input_panel.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/widget/input_panel.rs b/src/widget/input_panel.rs
index b69579e..5f2868f 100644
--- a/src/widget/input_panel.rs
+++ b/src/widget/input_panel.rs
@@ -133,12 +133,12 @@ impl InputPanel {
         let (row, start, span) = match column {
             FieldPosition::Left => {
                 self.left_count += 1;
-                (self.left_count, 1, 3)
+                (self.left_count, 1, 4)
             }
             FieldPosition::Right => {
                 self.two_column = true;
                 self.right_count += 1;
-                (self.right_count, 3, -1)
+                (self.right_count, 4, -1)
             }
             FieldPosition::Large => {
                 self.two_column = true;
-- 
2.39.5



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


  reply	other threads:[~2024-12-19 12:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-19 12:09 [pdm-devel] [PATCH yew-widget-toolkit/proxmox-api-types/pdm] overhaul remote wizard Dominik Csapak
2024-12-19 12:09 ` Dominik Csapak [this message]
2024-12-19 12:22   ` [pdm-devel] applied: [PATCH yew-widget-toolkit 1/1] widget: input panel: use correct column for custom childs Thomas Lamprecht
2024-12-19 12:09 ` [pdm-devel] [PATCH proxmox-api-types 1/1] add /access/domains GET call Dominik Csapak
2024-12-19 12:22   ` [pdm-devel] applied: " Thomas Lamprecht
2024-12-19 12:09 ` [pdm-devel] [PATCH datacenter-manager 1/3] server: api: add 'realms' add point for PVE Dominik Csapak
2024-12-19 12:09 ` [pdm-devel] [PATCH datacenter-manager 2/3] pdm-client: expose `ListRealm` type Dominik Csapak
2024-12-19 12:09 ` [pdm-devel] [PATCH datacenter-manager 3/3] ui: restructure wizard to have a better flow Dominik Csapak
2024-12-19 12:31 ` [pdm-devel] applied: [PATCH yew-widget-toolkit/proxmox-api-types/pdm] overhaul remote wizard Thomas Lamprecht
2024-12-19 12:35   ` Dominik Csapak
2024-12-19 12:40     ` 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=20241219120920.2046373-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 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