Wiki Navigation
- Loading...
Purpose
- Required: No
- Type of Change: Bug Fix
A text offset of 2 pixel - scaled to screen resolution - was hardcoded for textboxscrollup controls, which is what causes the text to end up scrolling higher than the original position.
Adding a
<scrollYOffset>
property to
TextBoxScrollup
allows skins to adjust the offset and prevent text scrolling higher than the original position.
Default is set to 2 to keep compatible with existing skins. To fix scrolling behavior, set
<scrollYOffset>
to
0
.
Tip: When changing
<scrollYOffset>
, skins may need to change the
posY
of the
TextBoxScrollup
control - e.g. if reducing
<scrollYOffset>
to
0
, add 2 pixels to the
posY
to move the entire control down.
Description of Change
Adding
<scrollYOffset>
as user definable property to
TextBoxScrollup
to allow skinners to set behavior instead of using hardcoded value.
Additional Information and References
Mantis Issue: |
|
---|---|
Related xml(s): |
|
Windows IDs: |
|
Related GUI control: |
TextBoxScrollup |
Author: |
Guzzi |
Date added: |
Tue, 27 Aug 2013 |
XML/Code Samples
Screenshots
This page has no comments.