[Webkit-unassigned] [Bug 51454] [GTK] Implement spin buttons in RenderThemeGtk
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 11 10:03:41 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=51454
--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> 2011-01-11 10:03:41 PST ---
(In reply to comment #5)
> (From update of attachment 78505 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=78505&action=review
>
> > Source/WebCore/platform/gtk/RenderThemeGtk3.cpp:779
> > + GtkBorder padding;
> > + gtk_style_context_get_padding(context, static_cast<GtkStateFlags>(0), &padding);
> > +
> > + int width = spinButtonArrowSize(context) + padding.left + padding.right;
> > + style->setWidth(Length(width, Fixed));
> > + style->setMinWidth(Length(width, Fixed));
> > +}
>
> Is it possible to just use reasonable values here rather than staying entirely true to the theme. If so, it might be better, as it will allow us to have the same layout regardless of the GTK+ theme / version.
gtk2 doesn't support spin buttons, so we can leave this and once gtk2 supports spin buttons, if the test results don't match we can try to use another value.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list