🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13868

Re: String Gadget Problem (help!)

#13868
From: Peter Cherna
Date: Fri, 23 Feb 1990 16:59
29 lines
1794 bytes
In article <1990Feb22.131859.17022@aucs.uucp> 840445m@aucs.UUCP (Alan McKay) writes:
>I am having trouble with the text in string gadgets.  When I draw a border 
>around the text, the text always appears in the top left and covers up 2
>sides of the border ... like this
>
>    text text text text text|
>    +-----------------------+
>
>I know that I can fix this by specifying a border offset of -2,-2, but the
>problem with this is that I also use the same borders to surround text that
>goes into boolean gadgets.  In the b. gadgets I can specify the offset of
>the IntuiText in the gadget to be 2,2 which is great.  Is there anyway to
>do the same with the text in the string gadet?
>
>An alternative for me would be to keep my borders offset at -2,-2 and change
>the text in my boolean gadgets to be 0,0, but then the border would not 
>truly represent the hit box of the gadget.

There is no legal way to offset the string gadget text like IntuiText.
The best solution is to use two different (but similar) Border structures
that can share the same border points.

>Thanks in advance for any help or insights

     Peter
--
     Peter Cherna, Software Engineer, Commodore-Amiga, Inc.
     {uunet|rutgers}!cbmvax!peter    peter@cbmvax.cbm.commodore.com
My opinions do not necessarily represent the opinions of my employer.
Technical Details
Message-ID: <9797@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!cbmvax!peter
References: <1990Feb22.131859.17022@aucs.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!cbmvax!peter
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.tech
Subject: Re: String Gadget Problem (help!)
Message-ID: <9797@cbmvax.commodore.com>
Date: 23 Feb 90 16:59:20 GMT
References: <1990Feb22.131859.17022@aucs.uucp>
Reply-To: peter@cbmvax.cbm.commodore.com (Peter Cherna)
Organization: Commodore, West Chester, PA
Lines: 29