drawing area resizes when rulers are added or removed



I've got a window containing a menubar and a drawing area.
Sometimes it has axes -- which are gtk_ext_{v,h}rulers.
The containers in use are a vbox and a table.

The size of the window is based on the size of the drawing
area, which is set using gtk_drawing_area_size().

If a user reduces the size of the window, and then adds or
removes the axes, the window suddenly resumes its original
size, as set by gtk_drawing_area_size().  This is pretty  
unfriendly behavior, of course.

This does not happen if the user increases the size of the
window.

Any thoughts?

Debby

-- 
Deborah Swayne                      AT&T Labs - Research 
dfs research att com                Shannon Laboratory, Room B295     
www.research.att.com/~dfs           180 Park Avenue
973 360-8423                        Florham Park, NJ 07932-0971




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