From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Dietmar Maurer <dietmar@proxmox.com>, yew-devel@lists.proxmox.com
Subject: Re: [PATCH yew-widget-toolkit-assets 0/3] material: 8px spacing, touch-sized controls
Date: Thu, 29 Oct 2026 15:40:07 +0100 [thread overview]
Message-ID: <29260457-34c4-408b-9898-1483d5500763@proxmox.com> (raw)
In-Reply-To: <mvtiqmmg.1mbhk42wvazk0@proxmox.com>
Am 29.10.26 um 13:29 schrieb Dietmar Maurer:
> I am not sure about this. Cant we simply use another density setting
> if we detect touch devices?
> desktop: preset -> medium
> touch: preset -> relaxed
IMO not ideal, that blows up all elements and adds a lot of empty space
reducing the rendered content even further. Just increasing the elements
one can actually interact with, and needs a bit bigger for being able to
nicely hit them with a finger provides a targeted benefit, increasing
padding for all is making the overall user experience slightly worse in
my opinion.
> Simply overriding min-height for some widget can produce strange
> result, i.e. with density "compact".
I can recheck that, potentially we only want to do this here only for the
default/medium density.
> But in general, do you really want to use "Material" theme with "Compact" layout and touch sized controls?
For a notebook with touch it can be nice, or a tablet with bigger screen
so not so zoomed in too. But as above mentioned, doesn't have to be
highly optimized for that as I agree in general that touch and material
and compact layout is a bit of a niche use case.
next prev parent reply other threads:[~2026-10-29 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 17:40 [PATCH yew-widget-toolkit-assets 0/3] material: 8px spacing, touch-sized controls Thomas Lamprecht
2026-10-22 17:41 ` [PATCH yew-widget-toolkit-assets 1/3] material: give controls a fingertip-sized target on touch screens Thomas Lamprecht
2026-10-22 17:41 ` [PATCH yew-widget-toolkit-assets 2/3] material: reduce default spacing to 8px Thomas Lamprecht
2026-10-30 11:49 ` Dietmar Maurer
2026-10-22 17:41 ` [PATCH yew-widget-toolkit-assets 3/3] material: let an application turn the touch-sized controls off Thomas Lamprecht
2026-10-29 12:29 ` [PATCH yew-widget-toolkit-assets 0/3] material: 8px spacing, touch-sized controls Dietmar Maurer
2026-10-29 14:40 ` Thomas Lamprecht [this message]
2026-10-30 11:03 ` Dietmar Maurer
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=29260457-34c4-408b-9898-1483d5500763@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=dietmar@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 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.