Bixby Developer Center

Guides
References

halign

optionalvalue optional

Horizontal alignment. Determines the horizontal alignment of the text.

You can choose from these alignment options:

  • Start
  • Center
  • End

Example

To help you visualize the differences between the alignment options, here is an example:

halign example

Here is the example code:

hbox {
content {
vbox {
halign (Start)
content {
text { value (left) style (Detail_M) }
text { value (haligned) style (Detail_M) }
text { value (vbox) style (Detail_M) }
text { value (column) style (Detail_M) }
}
}
vbox {
halign (Center)
content {
text { value (Center) style (Detail_M) }
text { value (haligned) style (Detail_M) }
text { value (vbox) style (Detail_M) }
text { value (column) style (Detail_M) }
}
}
vbox {
halign (End)
content {
text { value (right) style (Detail_M) }
text { value (haligned) style (Detail_M) }
text { value (vbox) style (Detail_M) }
text { value (column) style (Detail_M) }
}
}
}
}

Child Keys

value
optional
A value that matches one of the valid enumerated options of its parent key