Article View: borland.public.jbuilder.java.swing
Article #870Re: Explain XYLayout vs GridbagLayout to a Delphi user!
From: Paul Furbacher [TeamB]
Date: Fri, 22 Oct 2004 17:21
Date: Fri, 22 Oct 2004 17:21
40 lines
2545 bytes
2545 bytes
John McGrath [TeamB] wrote:
> On 10/20/2004 at 9:11:12 AM, Paul Furbacher [TeamB] wrote:
>
>
>>>1. Why is XYLayout to be avoided?
>>
>>Because, unlike Delphi, you potentially run
>>your application on any platform. Are the
>>fonts sizes, etc., the same on a Mac, Linux,
>>and Windows?
>
>
> This seems to imply that variable sizes is not an issue for Delphi or
> native Windows applications, but that is not the case. You can change
> the DPI setting for your display (under Display Properties | Settings |
> Advanced | General | DPI Setting), and text will render larger than it
> "normally" does. I have run across a number of Windows programs that do
> not deal with this properly, causing labels to overlap, etc.
Oh, nitpick, will you! (Smileys needed?)
You are right, but no one wants to admit
that 99% of Windows programs fail in this
regard. (Am I exaggerating with that number?)
Maybe the Delphi API needs a TGridBagLayout class?
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Technical Details
Message-ID:
<4179418e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41764478@newsgroups.borland.com> <417663ef$1@newsgroups.borland.com> <4178486a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,e5dc3c739f1ab78 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 22 Oct 2004 13:21:20 -0400 From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com> Organization: Reverse Alchemy, Inc. User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Explain XYLayout vs GridbagLayout to a Delphi user! References: <41764478@newsgroups.borland.com> <417663ef$1@newsgroups.borland.com> <4178486a$1@newsgroups.borland.com> In-Reply-To: <4178486a$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.142.222.65 Message-ID: <4179418e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098465678 69.142.222.65 (22 Oct 2004 10:21:18 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail