Hi
In case somebody else needs to shrink a dialog to fit, here's what i do
whenever i change the visibility of the dialog's widgets:
    Gtk::Requisition req = get_vbox()->size_request();
    resize(req.width, req.height);

jody

On Thu, Jun 12, 2008 at 1:29 PM, jody <[EMAIL PROTECTED]> wrote:
> Hi
> I have dialog which can be expanded to show more input widgets by the
> press of a button ("advanced").
> Those "advanced" widgets are initially invisible, and when the button
> is pressed they are shown, and
> the dialog grows correspondingly.
> But when i hide the "advanced" widgets again, the dialog retains its large 
> size.
>
> Is there a way to make the dialog shrink to fit, i.e. make it take on
> the minimum size such that all visible widgets can be seen?
>
> Thank you
>  Jody
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to