Disabling an aspect frame



Hello everyone,

I have the following problem: I have a DrawingArea which I use to draw
some pictures of networks. I made the DrawingArea the child widget of an
AspectFrame. The AspectFrame centers the DrawingArea nicely and
preserves the aspect ratio. I don't know how though, since my
DrawingArea never reports any size requests. Now I would like to make
it possible to disable the AspectFrame off at run time. This should
happen in such a way that the empty space on both sides of the
DrawingArea is used up entirely by the DrawingArea. Are there any
properties of the AspectFrame that I can set (I already tried ALIGN_FILL)?

g4hx


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