In a sized dialog (or sized panel), how do you add a spacer?
Michael
In a sized dialog (or sized panel), how do you add a spacer?
Michael
sized dialog
pane = self.GetContentsPane()
pane.Sizer.AddSpacer(7, 7)
sized panel
self.Sizer.AddSpacer(7, 7)
On Thursday, February 27, 2014 7:29:42 PM UTC, Michael Hipp wrote:
In a sized dialog (or sized panel), how do you add a spacer?
Michael
Ah, thanks. I guess I was trying to avoid calling the sizer directly.
Michael
On 2/27/2014 4:01 PM, Yoriz wrote:
On Thursday, February 27, 2014 7:29:42 PM UTC, Michael Hipp wrote:
In a sized dialog (or sized panel), how do you add a spacer?
Michael
sized dialog
pane = self.GetContentsPane()
pane.Sizer.AddSpacer(7, 7)sized panel
self.Sizer.AddSpacer(7, 7)
My workaround is to add an empty panel.
Werner
On 27/02/2014 20:29, Michael Hipp wrote:
In a sized dialog (or sized panel), how do you add a spacer?
Does that work when you then e.g. change the sizertype? I think I
had a problem with that at the time and that is why I add a panel.
Werner
Hi,
On 27/02/2014 23:01, Yoriz wrote:
On Thursday, February 27, 2014 7:29:42 PM UTC, Michael Hipp
wrote:
In a
sized dialog (or sized panel), how do you add a spacer?
Michael
sized dialog
pane = self.GetContentsPane()
pane.Sizer.AddSpacer(7, 7)
sized panel
self.Sizer.AddSpacer(7, 7)