Article View: comp.windows.interviews
Article #1612Re: Menubars and FieldEditors
From: Dave Hollenbeck
Date: Tue, 05 Jan 1993 22:21
Date: Tue, 05 Jan 1993 22:21
17 lines
1294 bytes
1294 bytes
Mark Linton (linton@marktwain.rad.sgi.com) wrote: : In article <810@mesrx.UUCP>, amw116@mesrx.com (amy m wong) writes: : |> 1) I have a simple question about appending MenuItem objects : |> to menubars. I want to know how to append a menu item to : |> the far right of a menubar. It seems that Menu automatically : |> sticks a hglue() at the end of a given menubar. Thus, the : |> last menu item can never be right justified. : : Put a menu item containing a piece of hglue(fil, 0, fil) before the right-adjusted items. : By making the natural size infinite, you force the box to shrink this glue : instead of stretching the glue at the end of the menu bar. Seems like what you really want is a subclass of Menu. Or at least an hbox. Then you can have three menubar segments, the middle one being empty. Of course, I could be wrong.
Technical Details
Message-ID:
<C0EJFq.JFC@fc.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!col.hp.com!fc.hp.com!dbhReferences:
<1icvprINNlll@fido.asd.sgi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!col.hp.com!fc.hp.com!dbh From: dbh@fc.hp.com (Dave Hollenbeck) Subject: Re: Menubars and FieldEditors Sender: news@fc.hp.com (news daemon) Message-ID: <C0EJFq.JFC@fc.hp.com> Date: Tue, 5 Jan 1993 22:21:26 GMT References: <1icvprINNlll@fido.asd.sgi.com> Organization: Hewlett-Packard Fort Collins Site X-Newsreader: TIN [version 1.1.4 PL6] Lines: 18