Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!uunet!infonode!ingr!b11!hottub!kendall From: kendall@hottub.b11.ingr.com (Kendall Schmidt) Newsgroups: comp.windows.x.motif Subject: Re: how do I left-justify the text in a push-button? Keywords: buttons are in a scrolled window, which is in a FORM dialog! Message-ID: <1991May31.142030.22645@b11.ingr.com> Date: 31 May 91 14:20:30 GMT References: <1991May30.195137.23995@porthos.cc.bellcore.com> Sender: @b11.ingr.com Reply-To: kendall@ingr.com Organization: Intergraph Corp. Huntsville, AL. Lines: 29 In article <1991May30.195137.23995@porthos.cc.bellcore.com>, wws@rruxc.uucp (Still Searching) writes: |> I'm placing some XmString text, created with XmStringCreateLtoR, |> in Push-Buttons which are on a bulletin board in a scrolled window. |> The text is always centered in the buttons; I want it left-justified. |> The PushButton inherites the resources from Label. You may want to try setting the resource XmNalignment to XmALIGNMENT_BEGINNING to get the label left-justified. |> I have a feeling this is happening because everything is in a Form dialog with |> ATTACH_POSITION specified for all four sides of all widgets. Is there a way |> to get the text to shift to the left in the buttons? |> I don't know if this will impact my suggestion. |> Thank you, |> Wayne Scott |> ---------------------------------------------- |> wws@bcr.cc.bellcore.com |> I'm just a soul whose intentions are good, |> Oh Lord, please don't let me be misunderstood. -- Kendall Schmidt | Intergraph Corp. | e-mail: Graphics Standards | Huntsville, AL. | kendall@ingr.com X Window System | 205-730-4061 | uunet!ingr!kendall