auto size of a group

miscdas at boxfrog.com miscdas at boxfrog.com
Fri Feb 21 13:40:01 EST 2003


Ivers, Doug E writes: 

> It seems like there should be an option for groups that says, "my size is the minimum rectangle that contains my visible members" (as opposed to a fixed size).  The current behavior is counter-intuitive for me, but I've adapted to it.  It would be nice to have the option. 
> 
> -- D
================
Mr. Ivers, 

Could you please elaborate on this lack of auto size feature for groups in 
Rev? In MC 2.4.3 on WIN XP pro, my groups automatically resize when I change 
the visible property of controls in the group. For example, if I have three 
fields in a group stacked vertically, and each field is of a different 
width, then when I set the visible of the highest field to false, the height 
of my group automatically drops to enclose the remaining two visible fields 
(plus, of course, a few pixels around that defines the group area). 
Similarly, if I set the visible of the widest field to false, then the width 
of group automatically reduces to a width sufficient to display the widest 
visible field. Likewise, when I set the visible of these fields back to 
true, the group auto resizes to a larger size and displays all of the 
visible controls. 

miscdas 




More information about the use-livecode mailing list