Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!cit-vax!usc-oberon!bacall!papa From: papa@bacall.UUCP Newsgroups: comp.sys.amiga Subject: Re: Gadgets in window borders Message-ID: <2348@bacall.UUCP> Date: Tue, 31-Mar-87 00:32:46 EST Article-I.D.: bacall.2348 Posted: Tue Mar 31 00:32:46 1987 Date-Received: Thu, 2-Apr-87 01:14:31 EST References: <579@puff.WISC.EDU> Distribution: comp Organization: CS&CE Depts, U.S.C., Los Angeles, CA Lines: 48 Jeff Kesselman writes: > I am having a problem with gadgets inside of intuition that I'd like to > find either a solution for, or conformation that it is a known bug. > > I am attempting to put gadgets inside of the border of a backdrop window > (The bottom border is what I am really after, but I've tried all 4). > When I set the BorderBottom,BorderTop, or BorderRight flags in the > ActiavtionFlags for the gadget, nothing happens. When I set the > BorderLeft flag, the left border widens out to contain HALF of the > gadget and various seemingly random things happen to the rendering of > the right border. I am working in HiRes mod. > > Anbody know what the hell is going on? I'm just about ready to give up > on putting it in the border, shorten the window, and put the darn thing > on the Custom Screen itself. > I am using proportional gadgets, like the ones of intuition windows, in high-res and with a backdrop, gimmezerozero window. This is what I use: for the horizontal gadget (located on the right side): GRELWIDTH, GRELBOTTOM GADGIMMEDIATE, BOTTOMBORDER GZZGADGET, PROPGADGET for the vertical gadget (located at the bottom): GRELHEIGHT, GRELRIGHT GADGIMMEDIATE, RIGHTBORDER GZZGADGET, PROPGADGET Note that the horizontal gadget will have NEGATIVE topedge and width, while vertical gadget has NEGATIVE leftedge and height. Hope this helps. -- Marco -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Marco Papa 3175 S. Hoover St., Ste. 275 (213)747-8498 Los Angeles, CA 90007 USC: (213)743-3752 F E L S I N A Now working for ::::::: BIX: papa But in no way :: :: Officially representing ::::::: ...!usc-oberon!bacall!papa S O F T W A R E papa@usc-cse.usc.edu -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-