public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit 0/2] widget: form: number: fix float display and focus
Date: Thu, 19 Mar 2026 18:04:16 +0100	[thread overview]
Message-ID: <20260319170432.1533393-1-c.heiss@proxmox.com> (raw)

Both patches are independent and can be applied separately, if wanted.

Patch #1 fixes the formatting for the `Number` widget with floating
point numbers, when using the step buttons.

Patch #2 fixes focusing the input by click, which currently is
intercepted too early and thus broken.

Christoph Heiss (2):
  widget: form: number: round floats to nearest step value
  widget: form: number: allow focusing the input on mouse click

 src/widget/form/number.rs | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

-- 
2.53.0





             reply	other threads:[~2026-03-19 17:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19 17:04 Christoph Heiss [this message]
2026-03-19 17:04 ` [RFC PATCH yew-widget-toolkit 1/2] widget: form: number: round floats to nearest step value Christoph Heiss
2026-03-19 17:04 ` [PATCH yew-widget-toolkit 2/2] widget: form: number: allow focusing the input on click Christoph Heiss

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=20260319170432.1533393-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=yew-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