Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "152) TOPIC: LABEL WIDGET"
Next document is "154) Why doesn't label alignment work in a RowColumn?"

153) How can I align the text in a label (button, etc) widget?

Answer:  The alignment for the label widget is controlled by the resource
XmNalignment, and the default centers the text. Use this resource to change it
to left or right alignment.  However, when the label (or any descendant) is in
a row column, and XmNisAligned is True (the default), the row column aligns
text using its resource XmNentryAlignment. If you want simultaneous control
over all widgets use this, but otherwise turn XmNisAligned off and do it
individually.

Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "152) TOPIC: LABEL WIDGET"
Next document is "154) Why doesn't label alignment work in a RowColumn?"