22.1 Overview

Label class is a superclass of text class and allows you to easily create labels for other MUI objects like checkmarks or cycle objects.

Here is an example of how to use the <label> command:

 
<label>Hello World</label>

The string you specify here can use text formatting codes. See Text formatting codes for details.

Please note that labels are not resizable horizontally. That is why they can easily block resizing of your whole GUI. To circumvent this problem, you can simply put the label in a <hgroup> together with an empty <rectangle> object. See Rectangle class for details.


Show TOC