Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!shell!mahogany!gerday From: gerday@mahogany (Jan B. Gerday) Newsgroups: comp.windows.x.motif Subject: Re: XmString type converter Keywords: newlines, resources Message-ID: <1991Feb4.231920.12133@shell.shell.com> Date: 4 Feb 91 23:19:20 GMT References: <1991Jan31.143450.24173@slhisc.uucp> Sender: usenet@shell.shell.com (USENET News System) Organization: Shell Oil Lines: 36 I'm sorry if this solution has already been mentioned, but what I like to use for multi-line labels is the same syntax as is used for translation table continuation, i.e. "\n\" ex: in my app-defaults file for xmh I have Xmh*commandBox.button1.label: Close\n\Window which makes the button like this ---------- | Close | | Window | ---------- Alternatively the same layout can be specified like this: Xmh*commandBox.button1.label: Close\n\ Window I hope this helps. --------------------------------------------------------------- Jan Gerday << C'etait chouette... on a bien rigole! >> gerday@shell.com - Petit Nicolas ...!{sun,psuvax1,bcm,rice,decwrl,cs.utexas.edu}!shell!gerday Consultant to: Shell Oil Company, IC-6F04 P.O. Box 20329, Houston, TX 77225-0320 (Tel: 713.795.3075) --------------------------------------------------------------- -- Jan Gerday << C'etait chouette... on a bien rigole! >> gerday@shell.com - Petit Nicolas ..!{sun,psuvax1,bcm,rice,decwrl,cs.utexas.edu}!shell!gerday