Skip to content

values content horizontal alignment

Anastasia Tarasova edited this page Feb 9, 2018 · 1 revision

ContentHorizontalAlignment

The horizontal alignment of content (text and images) within a control.

Syntax

horizontal-alignment

Available parameters

Supported values:

  • left
  • right
  • center
  • fill

Example

".login-button":{  
   "horizontal-alignment": "left"
 }

Corresponding type in iOS

UIControlContentHorizontalAlignment

Provider

HorizontalAlignmentProvider

Clone this wiki locally