Re: XForms: fl_scale_form & tabbed folder object

T.C. Zhao (zhao@bloch.phys.uwm.edu)
Mon, 2 Feb 1998 22:32:46 -0600

# To subscribers of the xforms list from zhao@bloch.phys.uwm.edu (T.C. Zhao) :

# To subscribers of the xforms list from "Robert S. Mallozzi" <mallors@crazyhorse.msfc.nasa.gov> :
>I seem to be having a problem getting a tabbed folder object
>to scale properly. I usually include an fl_scale_form() in
>my xforms apps to account for different sized fonts (especially
>on the SGI). If I have a tabbed folder in its own toplevel
>form, and I do a fl_scale_form() on that toplevel, the tabbed
>folder does not get resized.

I just looked and found that for some reason, the default
gravity for tabbed folder is no to resize. Can't remember
what was the reason for that, but whatever it was, it does
not seem cause problems if it's changed. So
for now, just add
fl_set_object_gravity(folder, FL_NoGravity, FL_NoGrabity)
fl_set_object_resize(folder, FL_RESIZE_ALL)
after folder creation.

_________________________________________________
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/