Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!stl!siesoft!arshad From: arshad@siesoft.co.uk (Arshad Mahmood) Newsgroups: comp.windows.x.motif Subject: XmText Widget Message-ID: <1991Apr30.143653.7400@siesoft.co.uk> Date: 30 Apr 91 14:36:53 GMT Sender: usenet@siesoft.co.uk (NNTP Poster) Organization: Siemens-Nixdorf Systems Development Group, UK Lines: 21 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.