Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!b61512!idiws1!idi!grywalski From: grywalski@idicl1.idi.battelle.org Newsgroups: comp.windows.x.motif Subject: Re: Dialog Box Actions Message-ID: <19.2768a262@idicl1.idi.battelle.org> Date: 14 Dec 90 14:58:58 GMT References: <1990Dec13.130121.23325@hellgate.utah.edu> <1990Dec13.204634.1731@dirtydog.ima.isc.com> Organization: IDI-Dublin Lines: 28 In article <1990Dec13.204634.1731@dirtydog.ima.isc.com>, rowan@ima.isc.com (Rowan Hawthorne) writes: > In article <1990Dec13.130121.23325@hellgate.utah.edu>, wtm%gr.utah.edu@cs.utah.edu (Thomas McCollough) writes: > |> I want to make a dialog box that has a row of push buttons along the > |> bottom ("OK", "Reset", etc.). I want the row of pushbuttons to stretch > |> and shrink just like they do in InformationDialog, QuestionDialog, > |> etc. I've been using PushButtons in a RowColumn widget, but I haven't > |> been able to make it look as slick as what I see in InformationDialog, > |> QuestionDialog, etc. How should I do this? > |> > This ought to be in the FAQ list, if it isn't already. Here's what you > do. The two tricks are that you unmanage the stuff in a prompt dialog, > and that you can add one more child to a Prompt dialog and it will put > it in the correct place. Enjoy. > Why does it take a trick to do this? I have been trying to build my own dialog boxes with UIL that have the same behavior as the Motif standards, and have had little luck. (The pushbuttons don't stretch correctly and the nondefault buttons have the same height as the default button.) I assumed I just hadn't stumbled on the the correct combination of parameters. I will be very disappointed if I can't generate a "standard Motif like" dialog box with UIL. Has anyone had any success with this? If so could you post an example? -- * Roger Grywalski - Software Developer GRYWALSKI@IDICL1.IDI.BATTELLE.ORG * Information Dimensions Inc. * 655 Metro Place South * Dublin, Ohio 43017