Re: gtk geometry and child aspect ratio?



On Mon, 2004-02-09 at 10:59, Johan Knol wrote:

The geometry widget handling is unfortunately fairly broken currently.

http://bugzilla.gnome.org/show_bug.cgi?id=68668

has some details. To see how hacking around the limitations work in
practice, see the source-code to gnome-terminal. But I'm not
really sure how you expect it to work with the scrolled window
inbetween the toplevel and the geometry widget. The scrolled
window isolates the drawing area from toplevel resizing, so a
square drawing area shouldn't put any constraints on the toplevel.

Ok, I want the geometry manager to display the visual part of the 
drawing area to be squared. So maybe I should use the scrolledwindow's 
viewport as the geometry widget, but that doesn't work either.

Well, then read that bug report and gnome-terminal sources as I 
suggested.

Regards,
                                                Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]