Files
Basalt/docs/docs1_6/objects/Label.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

642 B

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 methods also apply for labels.

setText Sets the input type
setFontSize Returns the input type
getFontSize Sets the default text