Re: XForms: resizing a form

Trent Piepho (xyzzy@u.washington.edu)
Tue, 3 Feb 1998 11:17:21 -0800 (PST)

# To subscribers of the xforms list from Trent Piepho <xyzzy@u.washington.edu> :

On Tue, 3 Feb 1998, Ivan Powis wrote:
> > # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
> > > I still want the user the be able to resize the form normally.
> > > Thinking up a name for every single object in the form so I can call
> > > fl_set_object_resize on all of them isn't a very pleasant
> > > proposition.
> >
> > Then do it in fdesign.
>
> I think he may mean he wants normal behaviour (ie full resizing) as
> the default behaviour for user interaction, but on occasions wants to
> achieve the special effect described. So doing it in fdesign isn't
> giving the required flexibility.

Yes, that's exactly what I want.

> I haven't tried this but it looks like the FL_FORM structure holds
> pointers to the beginning and end of a linked list of all FL_OBJECTS
> on the form. Couldn't you step through the objects doing a
> fl_set_object_resize() on them, do your programmatic trickery, and
> finally step through again resetting them to resize normal. No need to
> know fdesign names etc.

spl posted some code that does this. I'll have to try it out, but all this
saving and restoring of gravities seems very ugly. I just want to have the
objects not adjust their size at all.

|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy@u.washington.edu) -- Metallica |
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/