gettingstarted
[Top] [All Lists]

Re: Resizing several fields?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Resizing several fields?
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 28 Oct 2004 08:48:15 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BDA6906C dot BE64%markus_winter at blueyonder dot co dot uk>
At 12:02 PM +0100 10/28/04, Markus Winter wrote:

I'm feeling dumb right now - I have several objects (Editfields, Listboxes)
side-by-side and one-above-the-other in a window (looks like a six on the
dice). However when I resize it then they either run into each other or ...

It seems no combination of lock-top, -left, -right, -bottom deals with this.

No, some combination will certainly deal with it. For example, unchecking ALL of those checkboxes is one solution; then when you resize the window, these controls won't move at all (and so they won't overlap).

A probably more desirable solution would be to LockBottom the ones on bottom, and both LockBottom and LockTop the ones in the middle. Then the ones in the middle will stretch out as the window grows. For left/right, choose which column of items you want to stretch, and check both LockLeft and LockRight on those. (And if that was the left column, then be sure to check only LockRight on the rightmost column.)

So there are lots of solutions using the lock properties that will allow your UI to resize without the fields overlapping.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>