Wiki Navigation
- Loading...
Purpose
- Required: No
- Type of Change: Feature
Enhance buttons to ignore textXOff "margins".
Description of Change
Positioning text to a desired location using textXOff on several buttons may not be possible given a specific button width and text label width. Using the textXOff shrinks the width of the label and may clip (fade out) the label based on the textXOff value. This feature allows for the positioning of the text using textXOff while preserving the width of the label text. To use simply set the textXOff property hasMargin to "no"; e.g. <textXOff hasMargin="no">20</textXOff>. This implementation is backward compatible. The following controls support this implementation: button, togglebutton, menubutton, spinbutton.
See also: Button, ToggleButton, MenuButton, SpinButton
Additional Information and References
- Mantis Issue: 3520
- Related xml(s):
- Window ID:
- Related GUI property/control: Skin attribute <textXOff>
This page has no comments.