Centering a panel/widget within another panel

jonhattan:

Excellent!

(I was not aware of this new(?) AddStretchSpacer method. My attemmps in
using BoxSizer with an old fashioned Add((-1, -1), ...) failed).

Jean-Michel Fauth, Switzerland

jmf escribió:

jonhattan:

Excellent!

(I was not aware of this new(?) AddStretchSpacer method. My attemmps in
using BoxSizer with an old fashioned Add((-1, -1), ...) failed).

I dont think it is a new addition.
It is a shortcut for Add((0, 0), prop)

http://wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizeraddstretchspacer

···

Jean-Michel Fauth, Switzerland

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