Frame.setLabelAlign
void setLabelAlign(float xalign)Sets the X alignment of the frame widget’s label.
The default value for a newly created frame is 0.0.
Parameters
xalign | The position of the label along the top edge of the widget. A value of 0.0 represents left alignment; 1.0 represents right alignment. |