Re: Windows sizing problem
- From: Jens Finke <jens triq net>
- To: Marco Pesenti Gritti <marco it gnome org>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: Windows sizing problem
- Date: Mon, 29 Jul 2002 07:48:15 +0200 (CEST)
On 23 Jul 2002, Marco Pesenti Gritti wrote:
> in galeon but I never got it working correctly. I could use some help by
> someone more clued then me here :)
> What I'd need is:
> 1 The window should be sized so that the embedded mozilla widget has a
> given width/height
> 2 It should still be possible for the user to shrink the window
> 3 The embedded mozilla widget can change his size also after the window
> has been showed, and window size should be updated.
> Things that I already tried:
> - Using gtk_widget_set_size_request on the mozilla widget make 2 not
> work at all, and 3 fail when new width/height is smaller.
> - Using gtk_window_resize seem to fit the requirements. But I couldnt
> find a reliable way to calculate window size for the given mozilla
> widget width/height.
Did you try to use gtk_window_set_default_size? This worked for my in eye
of gnome, where we had a similar problem.
-= http://triq.net/~pearl =- -= jens triq net =-
] [Thread Prev