Text Align
The text-align property in CSS is used to set the horizontal alignment of text within an element. It defines how inline content like text is aligned inside its parent container.
Text Align in Workmaster
The Text Align property in Workmaster determines the horizontal placement of text within a widget. It functions similarly to the text-align property in CSS and helps control the overall visual flow and structure of text content.
This is a Conditional Value field. Such fields allow you to specify values directly OR use a Formula to specify a value. Conditional values are useful for specifying different values for changing situations, such as varying device types or screen sizes.
Possible Values
Left (default)
Aligns your text to the left edge of the container. Best for traditional reading flow or structured layouts.
Center
Positions the text in the center of its container. This is the default alignment in Workmaster and works well for titles, buttons, forms, and most centered layouts.
Right
Aligns your text to the right edge. Great for right-to-left language support or for visual contrast in layout designs.
Justify
Spreads text evenly across the width of the container, aligning both left and right edges. Useful for long-form content or professional layouts where clean edges are preferred.
Examples
1. Left


2. Center


3. Right


4. Justify


Last updated