dis-positioning of controls in notebook when dialog is restored

Hi All,

I would like to ask how to prevent my controls, inside my notebook,
into being dis-positioned after restoring the dialog from minimized. I
added a notebook into my dialog then put some controls on it.
Everything works fine but after doing minimizing and restoring on my
main window, I noticed that some my controls are dis-positioned. This
only happens after several clicks from minimize to restoring the
window.

I am new to python, your guidance is really appreciated.

Thank you,
Michael

It is ok now. Seems that it has something to do on how I did the
layout.

I don't understand though why because it only occurs if I add a code
like below after adding page:

        sizer_1.Add(mynotebook, 1, wx.EXPAND, 0)
        self.SetSizer(sizer_1)
        sizer_1.Fit(self)

ยทยทยท

On Sep 29, 10:15 am, Michael <michael.sarau...@gmail.com> wrote:

Hi All,

I would like to ask how to prevent my controls, inside my notebook,
into being dis-positioned after restoring the dialog from minimized. I
added a notebook into my dialog then put some controls on it.
Everything works fine but after doing minimizing and restoring on my
main window, I noticed that some my controls are dis-positioned. This
only happens after several clicks from minimize to restoring the
window.

I am new to python, your guidance is really appreciated.

Thank you,
Michael