🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3213

Re: Need help from a layout expert

#3213
From: Firma Zeppelin
Date: Tue, 10 Mar 1998 00:00
43 lines
2873 bytes
Peter Steele wrote:
> 
> I'm having some difficulty in try to reproduce the UI behavior of a program
> I've written in C++ Builder. The main form looks basically like this:
> 
> +------------------------------------------------------------+
> | File Edit Help                                             |
> |------------------------------------------------------------|
> |                        |                                   |
> |  /------\    /------\  |  Text area                        |
> |  |Button|    |Button|  |  This should grow to east and     |
> |  \------/    \------/  |  south as window is resized. Its  |
> |                        |  left edge is anchored at its     |
> |  /------\    /------\  |  designed position. If window is  |
> |  |Button|    |Button|  |  resized to be narrower than the  |
> |  \------/    \------/  |  text area's left edge, the text  |
> |                        |  area should be clipped, as well  |
> |  /------\    /------\  |  as any buttons in the left hand  |
> |  |Button|    |Button|  |  area of the main form.           |
> |  \------/    \------/  |                                   |
> |                        |  If the Hide/Show button is       |
> |------------------------|  pressed, the text area is        |
> |                        |  hidden and resizing the window   |
> |  (that's a horizontal  |  simply extends grey form back-   |
> |   line above)          |  ground. The status bar of course |
> |                        |  is always anchored to the bottom |
> |      /---------\       |  and if the window is too small   |
> |      |Hide/Show|       |  to fit in the buttons they are   |
> |      \---------/       |  clipped.                         |
> |                        |                                   |
> |------------------------------------------------------------|
> | Status bar                                                 |
> +------------------------------------------------------------+
> 
> This was trivial to set up in C++ Builder but I've been unable to come up
> with a way to duplicate this behavior in Java. If anyone can offer some
> advice, it would be appreciated.

There is a learning programm about layouts in the help-section of
jbuilder with some good advice.

jan
Technical Details
Message-ID: <35053172.4BE2@t-online.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6dubpt$26t5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,9f9a24dbf90a2338
X-Google-Attributes: gid1089d0,public
From: Firma Zeppelin <Firma.Zeppelin@t-online.de>
Subject: Re: Need help from a layout expert
Date: 1998/03/10
Message-ID: <35053172.4BE2@t-online.de>
X-Deja-AN: 332601581
Content-Transfer-Encoding: 7bit
References: <6dubpt$26t5@forums.borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api