centerElements

Typeproperty
Dictionarywidget.powerbutton
LibraryPower button
Syntax
set the centerElements of widget to {true | false}
get the centerElements of widget
Associationscom.livecode.widget.powerbutton
Summary

Specifies whether the icon and label of the widget (Power button) are pushed to the center.

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

Use the centerElements property to change the appearance of a widget (Power button).

If the centerElements property of a widget (Power button) is set to true, then the icon and label elements will be centered.