Wizard/panel questions...

A.M. wrote:

Now then, say I want to reset this page (or panel) to look like it
first started. I binded the letter "E" to call the above initWindow
again assuming that it would destroy everything and start from
scratch. It seems to do just that but the positioning is way off. It
resembles something like:

es here

And that's about it. No line or anything. If I hit the "A" key at this
point I can sort of see a VERY small portion (maybe 2px or so) of the
TextCtrl being rendered on the left side of the panel. The funny part
is I can click Next to move to the next page and then click back to
return and everything is rendered fine again! Note: this only happens
in Linux...in Windows the positioning is still screwed up. This led me
to believe it was a repaint issued but I have tried different
combinations of Update, Refresh, Layout, and RecalcSizes.

Any thoughts, ideas, suggestions?

Call self.Layout()

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

That was easy enough. I was calling my sizer's Layout function.

Thank you much!

···

On 6/22/06, Robin Dunn <robin@alldunn.com> wrote:

A.M. wrote:

> Now then, say I want to reset this page (or panel) to look like it
> first started. I binded the letter "E" to call the above initWindow
> again assuming that it would destroy everything and start from
> scratch. It seems to do just that but the positioning is way off. It
> resembles something like:
>
> es here
>
> And that's about it. No line or anything. If I hit the "A" key at this
> point I can sort of see a VERY small portion (maybe 2px or so) of the
> TextCtrl being rendered on the left side of the panel. The funny part
> is I can click Next to move to the next page and then click back to
> return and everything is rendered fine again! Note: this only happens
> in Linux...in Windows the positioning is still screwed up. This led me
> to believe it was a repaint issued but I have tried different
> combinations of Update, Refresh, Layout, and RecalcSizes.
>
> Any thoughts, ideas, suggestions?

Call self.Layout()

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org