🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19380

Re: XYLayout *is* buggy (-1)

#19380
From: Rich Wilkman
Date: Mon, 09 Feb 1998 00:00
62 lines
2884 bytes
Fabian:

The 12 pixels is what I rememebered the height of the frame title to
be.  It has to be taken into consideration when figuring out
co-ordinates because 0,0 on a Frame is under the title bar.  When you
(or JBuilder) gets that wrong, the end result is a run-time shifting.

The reason I'm asking for code is that I *can't* reproduce it -- at
least not from the descriptions to date.  By looking at your code,
however, I'll be more able to reverse-engineer the steps you took in
the designer.

Alternately, if you can give me steps like:

File | New Application
Design Frame1
Drop Button X to the Frame
// now, even an idiot like you, Rich, should be able to see the
problem
// ;-)

-Rich
Fabian Beutin wrote:
> 
> > Can you give me a snippet of code?  Off the top of my head I'd say
> > that in the designer the insets for the Frame aren't being figured
> > properly and when the application gets into the "real world" there is
> > a slightly different result in the calcualtion.  However small, 12
> > pixels would be noticed.
> 
> I don't quite understand what you're saying here. 12 Pixels??? Where did
> you get the 12 from? %-)
> What code do you need?
> From my application? I can't see why that is needed. It's a just a
> really simple XYLayout on that Panel. You can reproduce that in a
> second. If you still need it though, I'll mail you an example.
> 
> I did look further into the problem:
> First I noticed that the bounds values are different than the
> constraints values. That seemed strange to me. I tracked the wrong sizes
> of my controls when the XYLayout put in a -1 to be the offset between
> the bounds and the constraints value...
> Any clues?
> 
> Regards,
>         Fabian.

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <34DF418A.C992349E@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34C6C5D2.CB579D92@berlin.snafu.de> <34C7851F.2F17D94@corp.borland.com> <34C7EB37.D5432DB3@berlin.snafu.de> <34CE0A78.9542FD71@corp.borland.com> <34DB7F58.1CC024B7@berlin.snafu.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bea07c142ab743f4
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: XYLayout *is* buggy (-1)
Date: 1998/02/09
Message-ID: <34DF418A.C992349E@corp.borland.com>
X-Deja-AN: 323481366
Content-Transfer-Encoding: 7bit
References: <34C6C5D2.CB579D92@berlin.snafu.de> <34C7851F.2F17D94@corp.borland.com> <34C7EB37.D5432DB3@berlin.snafu.de> <34CE0A78.9542FD71@corp.borland.com> <34DB7F58.1CC024B7@berlin.snafu.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language