[Webkit-unassigned] [Bug 175067] [GTK] Spin buttons are drawn too large

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 05:06:25 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=175067

--- Comment #12 from Adrian Perez <aperez at igalia.com> ---
(In reply to Carlos Garcia Campos from comment #11)
> The point of our theming code is to be consistent with the rest of the
> platform (being GNOME the platform in this case). So, I don't think we
> should render the spin buttons differently, but I agree they don't work in
> case of small fields that are simply not allowed in the GTK+ world. So, I
> think we should either skip the theming when the size of the control is
> smaller than the minimum GTK+ spin button size for the current theme, or
> render a different style only when the control size is too small. It could
> happen that a website with spin buttons of different sizes look
> inconsistent, though, but I guess that's unlikely.

I agree with Carlos here. Either there is space for the buttons and they
get painted in the same way as GTK+ does, and skip them if the entry is
too small. I would rather have the spin button entry degrade to a normal
entry than having a custom widget that does not correspond to anything
available in GTK+.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180806/8225f119/attachment-0001.html>


More information about the webkit-unassigned mailing list