[comp.windows.x.motif] XmText Widget

arshad@siesoft.co.uk (Arshad Mahmood) (04/30/91)

I need to align text in the text field of Motif XmText Widget as either RIGHT 
ALIGNED or CENTERED :

RIGHT ALIGNED : Initially the text is aligned in the text field right-justified.
                If a character is entered, the text to the left of the cursor
                is shifted to the left by one character.

CENTERED      : Initially the text is aligned centered in the text field. If a
                character is entered, the text is subsequently recentered. 

Is there an easy way to do this ?

Thanks in advance.

Arshad Mahmood ( arshad@siesoft.co.uk )
Siemens Nixdorf Informations Systems Limited
Siemens Nixdorf House
Oldbury, Bracknell
Berkshire RG12 4FZ
England.