Win98se & Win2000
WxPerl 0.05 (ppm binary)
ActiveState 5.6 623
Mattia & listmembers (if applicable ;-),
Here's a small example demonstrating the issues we've found with the PlSizer
object.
The enclosed app is mostly ripped from the WxPerl sample, Layout.pl .
The first menu item, GoodPlSizer, is basically the same as the
"MyPlSizerFrame" except we've placed the toplevel Plsizer directly on its
frame, instead of on a panel. This one behaves as expected, just as it does
in the sample.
The second item, GoodBoxSizer, is almost the same as the first, but we've
replaced the PlSizers with a standard BoxSizers and added the two lines at
the bottom to fit & set the window's minimum size. This one also behaves as
expected; initializing its size properly & setting its min size.
The last item, BadPlSizer, is also almost the same as the first, except we
have added the same two lines at the bottom to fit & set the window's
minimum size. When this one comes up initially, its size is the size of the
full screen (if the screen is 1280 x 1024, so is the frame--note it is not
maximized ) It can be maximized, but... Any attempts to move or resize
cause the window to jump to an even larger height and a ludicrous width.
After some attempted resizing, the window may seem to disappeared, but we
suspect that it's actual size & pos are so unreasonable to Windows that they
aren't being displayed on the screen.
We posted this here, instead of to the Tracker, since it's not clear if the
problem lies in our methods, the PlSizer's code, wxWindows, or simply the
supplied manual.
L.Graves, D.Moon
LM R&D
|