Files
Basalt/docs/objects/Label.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

14 lines
651 B
Markdown

A label is for adding simple text.
By default label's width is auto sizing based on the length of the text. If you change the size with setSize it will automatically stop autosizing the width.
The fontsize feature is calculated by bigfonts, a library made by Wojbie (http://www.computercraft.info/forums2/index.php?/topic/25367-bigfont-api-write-bigger-letters-v10/)
[Object](objects/Object.md) methods also apply for labels.
| | |
|---|---|
|[setText](objects/Input/setInputType.md)|Sets the input type
|[setFontSize](objects/Input/getInputType.md)|Returns the input type
|[getFontSize](objects/Input/setDefaultText.md)|Sets the default text