Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#24 Scrollbar doesn't appear when resizing RichTextBox2

open
Craig Andera
5
2008-08-27
2008-08-27
John Suit
No

The scrollbar appears normally when changing the following (provided content overflows new text box size):

* Decreasing the width.
* Increasing the width.
* Increasing the height.

However, the scrollbar does not appear when:

* Decreasing the height.

Reproduction path:

1.) Add RichTextBox2 to a form.
2.) Wire-up events on form resize.
3.) Have these events also resize the RichTextBox2 proportionally.
4.) Add content to the RichTextBox2 that forces the vertical scrollbar to appear.
5.) Resize form in all four directions, and note that the scrollbar is not rendered when decreasing the form's (and RichTextBox2's) height. After this, the scrollbar is then rendered when the form is resized in any other direction.

Discussion

  • Craig Andera
    Craig Andera
    2008-08-27

    Logged In: YES
    user_id=879696
    Originator: NO

    Thanks for the bug report. However, I have absolutely zero time to work on fixes for this stuff right now, so this one (and all the others) are going to stay active. Sorry!

     
  • John Suit
    John Suit
    2008-08-27

    Logged In: YES
    user_id=1308063
    Originator: YES

    No problem, Craig. I'm just posting them for future reference and work. As for this bug, the workaround is quite simple: after I resize the RichTextBox2 control, I just run its Refresh method or similar to get it to update.