Text alignment
Text alignment
Comments
-
The text alignment can be changed using the following CSS:
.textalignment {
text-align: [desired text alignment]
}Example:
.textalignment {
text-align: center
}You can add this snippet to any custom CSS sheet and add it to System → Designers → CSS for use.
To apply this to your component,
1. Open your form → under Style Sheets property, choose the added CSS file.
2. Select your component → expand View properties → select .textalignment class in CSS Class.This will change the text alignment on the control to the one defined.
[i]edited by kshitij@decisions.com on 12/13/2019[/i]