The Viewport Scrollbar behaviour is not correct in the tip from 4th Jan 2013.
Check the Juce Demo - Treeview Demo:
If the subtrees are opened, the Viewport adds a horizontal Scrollbar although no Scrollbar or a vertical Scrollbar would be correct.
I also encountered Problems with the TextEditor Scrollbars:
If the TextEditor is set to multiline and wordwrap=true, sometimes at the end of a line a horizontal Scrollbar is added automatically and the correct vertical Scrollbar disappears.When you type the next character the horizontal Scrollbar disappears, the vertical Scrollbar appears again and the word is moved to the next line.
See the image:
[attachment=0]texteditor_scrollbar.jpg[/attachment]
No… In the demo, one of the items is 800 pixels wide, so the scrollbar is correct. Try making the window wider and it should be clear what’s going on.
I don’t have time to sit randomly playing with editor and font sizes to try to reproduce this, but if you can give me some code that always shows the problem, then I’ll take a look.
When you open the Demo and go to the Widgets Demo -> misc widgets tab, then you’ll see that the newly added Texteditor shows a horizontal scrollbar. When you type some characters it disappears. Depending on what you type, it may or may not appear on the next lines.
The expected behaviour for a multiline Texteditor would be to always do a line break instead of sometimes adding a horizontal scrollbar. Or did I get that wrong?