setting the size doesnt work - i put size=(700,700) but the window still
opens at the minimum size
···
On Saturday 07 August 2004 02:38 am, you wrote:
Kenneth Gonsalves wrote:
> hi,
> here is some code - my problem is that when the frame appears, it is
> extremely small. The buttons at the bottom appear, but only a small
> portion of the wxHtmlWindow appears. How to get it full size?
> redhat7.1 python2.3 wxpython2.4.2.4The html window has no way of knowing what its "best" size is so it just
stays at the small default unless you tell it differently. The
sizers in 2.4[*] use the initial size to set the window's minimum size
and then it calculates the layout according to that size. If you want
to have a different minimum then either set the size before adding it to
the sizer
--
regards
kg
http://www.onlineindianhotels.net - fastest hotel search website in the world
http://www.ootygolfclub.org