Text

Text Component

Design and display text with any style, color, size and alignment.

Design headings, labels and text blocks in an instant. This component delivers a quick way to create
content. You just type in your text in the Text Editor and it will display onscreen with all the properties
you set.

Umajin Editor has a Styles Inspector/Editor that enables you to set styles across an App:  Link Text Styles


Using the Text Component

  • The Text component enables you to type in static text rather than text driven from your Dashboard
    database. You can type your labels, body text, explanations or whatever text you want into the
    expanded Text editor.
  • By default, the text is black. You can change the text color under Text Style in the Properties or
    add a background image component first, in order to see your text.
  • The fonts available for selection will be those you have imported into the ‘fonts’ folder in your
    Project’s ‘Resources Folder’.
  • Using the properties under ‘Appearance’ and ‘Text Style’ in the ‘Properties Inspector’ you can
    re-size, align, space and change the look and presentation of your text. These properties are all
    described in the Properties section below.
  • Font rendering is automatic so it remains pixel perfect when re-sizing across devices.

Properties for Text Component

NameWhen components are placed on a page they appear highlighted blue in the scene tree and can
be renamed by double clicking in this panel and typing the new name. Components can also be
set to be visible/invisible on the page, using the ‘eye’ icon on this panel.
Position and SizeSets position and size. As long as measurements are maintained as percentages it deals
automatically with dynamic layout and resizing for different devices and orientations. You
can use millimeters to control aspects of size like width or height in order to create text
boxes whose sizes will be maintained across devices.
AppearanceSet content and placement/arrangement of text.
TextPress the edit (A) button to enter text in the Text Editor or double click the text box in
the workspace.
Resize TypeOptions are:
Millimeters – Sets the size of the font to a specific millimeter measurement.The font will
stay the same size regardless of the device size.
Scale with screen – The font size is set to be proportional to the size of the device
screen. Works like a percentage.
Rich TextCheckbox – if checked will display text in Rich Text Format.
MultilineCheckbox – if checked will display text over several lines.
Center verticalCenters text vertically in box.
Resize to ContentWhen the box is checked the text will reflow vertically to fit in all the original content.
Line SpacingAdjusts spacing between lines of text in lines of text where 1 is normal. (Range .5 to 2)
Text StyleSet style and appearance of your text using the Styles Inspector. The Styles Inspector is
accessible through the Edit Style ‘pencil’ icon under the Text Style Properties and  from
the Files Menu ‘Styles’.
Base StyleThe dropdown will display all the styles you have set in the Styles Inspector. Whichever
style you have selected will populate the properties below. If you alter any of the
properties below for a specific use on a page, then clicking the Refresh arrow will revert
the style back to its original state.
Create Style – opens the Styles Inspector so you can create a new style. The new style will
be added to the dropdown.
Organize Style – opens the Styles Inspector.
Font sizeSet font size using plus and minus buttons.
Font ColorThe color preview shows the color picker. Move around the color pad to select your color you
want. It displays with its web hex code at the top and shows the RGB values below. If you
know the hex code or RGB numbers you can type it directly into the boxes.
OpacitySet how opaque the text will display on a scale of 0 to 100, with 0 being transparent.
FontThe drop down displays all the fonts you have in your project. Select the font you want to
use.
AlignmentSet the alignment of the text.
TrackingUse this property to adjust the distance between your text characters.
PresetA Preset is a pre-determined set of properties and files for a component. You can have a
Predefined Preset (Umajin created) or a Custom Preset (custom designed by you). Where the
component has a Predefined Preset it will automatically be loaded into your app as the
default when you insert that component.
The ‘LOAD’ button  opens the Preset Selector, which has tabs for Predefined and Custom, so
you can choose which preset to load for your component.
Create your own Preset by building your assets, putting them in your Image folder and then
selecting them in the Properties panel. The ’SAVE’ button will enable you to name and save
your preset under the Custom tab.

Events that can Trigger an Action on the Text
Component

On PressAction occurs when component is pressed