Speficy that horizontal/vertical align is a number between 0 and 1. (#1357)

This commit is contained in:
Danny Colin 2021-07-29 14:46:09 -04:00 committed by Dave Davenport
parent 5cdfb378b0
commit 6945dd50a5
1 changed files with 2 additions and 2 deletions

View File

@ -690,8 +690,8 @@ The following properties are currently supported:
* **border-color**: the color used for the border around the widget.
* **font**: the font used by this textbox (string).
* **str**: the string to display by this textbox (string).
* **vertical-align**: vertical alignment of the text (`0` top, `1` bottom).
* **horizontal-align**: horizontal alignment of the text (`0` left, `1` right).
* **vertical-align**: Vertical alignment of the text. A number between 0 (top) and 1 (bottom).
* **horizontal-align**: Horizontal alignment of the text. A number between 0 (left) and 1 (right).
* **text-color**: the text color to use.
* **highlight**: text style {color}.
color is optional, multiple highlight styles can be added like: bold underline italic #000000;