Is there a way to hide the vertical scroll bar of a window? In particular, I'm using a wx.html.HtmlWindow and don't want the scrollbar to show up. Thanks.
Nathan
Is there a way to hide the vertical scroll bar of a window? In particular, I'm using a wx.html.HtmlWindow and don't want the scrollbar to show up. Thanks.
Nathan
Nathan R. Yergler wrote:
Is there a way to hide the vertical scroll bar of a window? In particular, I'm using a wx.html.HtmlWindow and don't want the scrollbar to show up.
Probably not. The HtmlWindow is derived from wx.ScrolledWindow and it will always add the scrollbars if the virtual size is bigger than the client size.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
I encountered this same problem and got around it by putting the
wxHtmlWindow on a wxPanel and setting the virtual size of the panel to
match the size of the wxHtmlWindow. Of course, this means you'll have
to manage your own scrolling, but it does work.
Cliff
On Tue, 2004-10-05 at 16:22 -0700, Robin Dunn wrote:
Nathan R. Yergler wrote:
> Is there a way to hide the vertical scroll bar of a window? In
> particular, I'm using a wx.html.HtmlWindow and don't want the scrollbar
> to show up.Probably not. The HtmlWindow is derived from wx.ScrolledWindow and it
will always add the scrollbars if the virtual size is bigger than the
client size.
--
Cliff Wells <clifford.wells@comcast.net>