On 03/27/2013 08:10:51 PM Wed, Martin Robinson wrote:
On Wed, Mar 27, 2013 at 4:41 PM, Peter Bloomfield <peterbloomfi...@bellsouth.net> wrote: > API for disabling the scrollbars would be helpful for us, and presumably for > anyone who packs GtkWebkitView with other widgets in a GtkVBox to be > scrolled as a whole.I imagine the best way to do this would be to inject a CSS stylesheet [1] which disables scrollbars on toplevel frames, or if you control the content simply hide them via CSS. 1. http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebViewGroup.html#webkit-web-view-group-add-user-style-sheet
Ahh...OK, that hides the scrollbar, but crops the page. I need webkit to render the whole page, so I can pack it in a box and scroll the whole thing, to avoid a second scrollbar. Not a big deal, now that scrollbars are so narrow…
pgpfCgOSKLb5C.pgp
Description: PGP signature
_______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk