Mini Widgets
Text
Text

Application Code
uniqueId
You assign the uniqueId individually; it must be unique. The purpose behind this is: If you show multiple customText with different settings on your interface, the styles do not override each other.
embedded
You use the parameter embedded when the text does not lie within another widget. By default, this is set to true.
width
With width, you define how wide the container of your customText should be.
height
With height, you define how high the container of your customText should be.
alignY
You use the parameter alignY to determine whether the container of the customText should be arranged at the top, bottom, or center on the Y-axis.
alignX
You use the parameter alignX to determine whether the container of the customText should be arranged on the left, right, or center on the X-axis.
fontSize
With fontSize, you determine the font size of your text.
fontWeight
With fontWeight, you can define the thickness of your font.
fontColor
With fontColor, you define the font color of your customText.
lineHeight
With lineHeight, you determine the spacing between the lines of text.
textWrap
With textWrap, you determine how your text should be wrapped. You can use common CSS values for white-space.
textScroll
With textScroll, you can set to true or false whether the text should be scrollable or cut off when it requires more space than the container provides (defined with width and height).
textAlign
With textAlign, you determine how the text should be aligned: left-aligned, right-aligned, centered or distributed across the line.
textDirection
With the parameter textDirection, you can determine whether the text should be aligned horizontally or vertically.
textDecoration
With textDecorationSettings, you can use the parameter type to underline and strike through your text or create a line over and both above and below the text. You can also style this line individually using style, color, and thickness.
The parameter type determines the type of line or position.
The parameter style determines the style of the line.
The parameter color determines the color of the line.
The parameter thickness determines the thickness of the line.
value
With value, you set the value that is to be output as customText. This can either be written text in "" or a Ninox field. If it is not a Ninox text field, remember to embed the value in text().
Tip for narrow columns:
With the customTable, you can now use the customText to present the column titles vertically, saving space in cells that, for example, contain only a checkbox, and subsequently providing more room for elements that require more space 💡
