[QScintilla] Horizontal Scrollbar always present

Phil Thompson phil at riverbankcomputing.com
Fri Jun 8 14:13:51 BST 2007


On Thursday 07 June 2007 9:52 am, T. Schweitzer wrote:
> Hello Phil,
>
> QScintillas horizontal scrollbar does not go away even if it contains no
> text. As far as I remember there was already a post mentioning that, but
> didn't find it again. The scrollbar can be irritating in a long text. Makes
> you thinking that there is a long, unbreaked line somewhere in the text.
>
> Is there a solution for this?

It's the way Scintilla works. It will be removed if wrapping is enabled.

You can control it explicitly using the SCI_SETHSCROLLBAR message.

Phil


More information about the QScintilla mailing list