StaticText window does not adapt text rendering area correctly when a scrollbar is set

Create issue
Issue #846 resolved
Lukas Meindl created an issue

StaticText window does not adapt text rendering area correctly when a scrollbar is set, for example take OgreTray statictext and activate the vertical scrollbar manually when the box contains a lot of text that goes outside the windows area. The text will be under the scrollbar when the scrollbar is first set. When you resize the window it suddenly displays it correctly.

Reproducibility: always

Steps to reproduce: 1. Create OgreTray/StaticText window 2. size it so it is not too big 3. add a lot of text 4. set vertical scrollbar to on 5. observe text being under the scrollbar 6. slightly resize the window 7. text shifts correctly

Comments (2)

  1. Paul Turner

    changeset: 3447:848bbaa48f7f user: Paul Turner <paul@cegui.org.uk> date: Tue Jul 10 09:38:51 2012 +0100 summary: FIX: Trigger reformat when scrollbar is enabled / disabled externally.

  2. Log in to comment