Text can be entered by double-clicking a cell or by entering text in the style inspector’s text box. You can choose between rich and plain text.

Plain Text

The advantage of plain text is that color and font properties can be stored individually in a widget independent from the text itself.



Text styles can also be accessed from the style bar if a cell that contains text is selected.




Alignment

Text can be aligned, independent from the alignment of nested elements.

Line height

With the line height property, you can define the space between two lines of text. It is also useful to vertically align a text exactly in a cell. You can specify an exact value or a multiple of the current font size.

Aliasing

By default, text is anti-aliased. You can turn this setting off in the style inspector.

Word-wrap

By default, text wraps if it reaches the element's bounds. You can turn wrapping off in the style inspector.

Tip: If you enable word-wrapping and set the cell to shrink vertically, the bounds of the cell adapt to the length of the text content.



Rich Text

Rich text allows formatting parts of the text, e.g. underlining a certain word or displaying certain characters in a different color. However, if rich text is used in the context of a widget, the text is stored together with the rich text formatting in the widget.

If rich text is turned on, the font button and color well are disabled in the style inspector. Formatting has to be done directly in the font panel.

To use rich text only options, double-click the cell, select the text and choose the option from the Format menu. You can e.g. change the line height (baseline) or underline text. You can also select parts of the text and change the font, color and size in the font panel.

The rich text checkbox will be turned on automatically in the style inspector if your formatting cannot be handled by plain text.