[webkit-dev] Disabling the scrollbars

Eric Seidel eric at webkit.org
Mon May 31 10:24:29 PDT 2010


This is a question for webkit-help, not webkit-dev, please move the
discussion there.

However, you can disable scrollbars on any frame using some CSS:

html {
overflow: none;
}

or similar.

On Mon, May 31, 2010 at 8:46 AM, Aram Hăvărneanu <aram.h at mgk.ro> wrote:
> On Mon, May 31, 2010 at 6:00 PM, Aram Hăvărneanu <aram.h at mgk.ro> wrote:
>> On Mon, May 31, 2010 at 5:06 PM, Aram Hăvărneanu <aram.h at mgk.ro> wrote:
>>> I'd like to disable the scrollbar
>>
>> To answer my own question, I need to call HRESULT
>> WebFrame::setAllowsScrolling(BOOL flag). To get an IWebFrame
>> interface, I call WebView::mainFrame().
>
> But it doesn't seem to work. Scrollbars still appear. What am I doing
> wrong? Is it not the main frame my main interest?
>
> Thanks.
>
> --
> Aram Hăvărneanu
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list