textAlignment

Typeproperty
Dictionarywidget.powerbutton
LibraryPower button
Syntax
set the textAlignment of widget to {center | left | right | top | bottom}
get the textAlignment of widget
Associationscom.livecode.widget.powerbutton
Summary

Specifies the alignment that the text displayed in the label has with respect to the sides of the button.

OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile
Example
set the textAlignment of widget "Power button" to "center"
Description

Use the textAlignment property to specify the alignment that the text displayed in the label has with respect to the sides of the button.