paynekj wrote:
To me it sounds like you have packing problems
In PyGTK you get to specify if boxes can expand to fill the available space, or just use just enough space to contain their contents.
http://www.pygtk.org/docs/pygtk/class-gtkbox.htmlIn TCL/TK you can specify the horizontal and vertical behaviour separately, so hopefully GTK will allow you something similar.
You do have a conundrum with the vertical size - are you going to create a dialog that is bigger than the user's display, then when they manually re-size it the scroll-bar appears? Or fix the dialog size from the outset? If so what happens to dialogs that are naturally smaller than your fixed size?
Kevin
Thanks for the suggestions. I do have the pack arguments set to expand=true but it might be related to packing. I'm working within the constraints of script-fu-interface.c module so what I have is this..
Top Level GIMP dialog
---- GTK_Box (packed into dialog)
--------- Frame (packed into GTK-Box)
------------ GTK_Scrolled_window (container added to Frame)
----------------- Table of widgets added to container via scrolled_window_add_with_viewport
When I manually expand the dialog, it stops at the bottom of the screen and I can use my scroll bar to scroll down through the table of input widgets. After further testing, If I set the vertical height larger than the screen screen size within the sf-interface, it stops at the bottom as well.
This is how the dialog currently looks when I manually drag from the corner to the bottom of the screen or manually set the values larger than the screen size in the sf-interface code.
