I have a problem , How to add the ability of resizing a panel inside a editor, automatically just after opening a file to the editor.
I designed a small Editor within a bigger Editor which has many panels, when i want to maximize the window for entering my data, the panel(my small editor) will be the same size as it has been before.
Now, what I would like to do is to be able to resize my editor when i click on maximizing button( which is available on the right corner of most of windows-two rectangles...),
So, how can i automatically resize the panel?
If any body have any idea how to do that?
Would be nice if you also address me the place where i can find more explanation for solving the problem!
Hi all,
I have a problem , How to add the ability of resizing a panel inside a editor, automatically just after opening a file to the editor.
I designed a small Editor within a bigger Editor which has many panels, when i want to maximize the window for entering my data, the panel(my small editor) will be the same size as it has been before.
Now, what I would like to do is to be able to resize my editor when i click on maximizing button( which is available on the right corner of most of windows-two rectangles...), So, how can i automatically resize the panel?
If any body have any idea how to do that?
Would be nice if you also address me the place where i can find more explanation for solving the problem!
Thank you, best regards.
Massoud.
Put the panel in a sizer, set the proportion to 1 and use the wx.EXPAND style flag.
Hi, Massoud.
Yes, sizers are the way to go. They automatically resize whatever is in them,
based on rules provided to them. See these tutorials: http://wiki.wxpython.org/UsingSizers
On Tue, Apr 14, 2009 at 4:00 AM, Massoud Alahdini <massoud.aladini@gmail.com> wrote:
Hi all,
I have a problem , How to add the ability of resizing a panel inside a
editor, automatically just after opening a file to the editor.
I designed a small Editor within a bigger Editor which has many panels, when
i want to maximize the window for entering my data, the panel(my small
editor) will be the same size as it has been before.
Now, what I would like to do is to be able to resize my editor when i click
on maximizing button( which is available on the right corner of most of
windows-two rectangles...),
So, how can i automatically resize the panel?
If any body have any idea how to do that?
Would be nice if you also address me the place where i can find more
explanation for solving the problem!