Re[2]: Cannot Position one Static Box

Sunday, November 20, 2005, 4:48:29 PM, Rich Shepard wrote:

BTW, I see in the book that wxWidgets has a spacer (AddSpacer in the
wx.Sizer classes), but I don't see the equivalent in wxPython.

To add a window:
  sizer.Add(window, spam, eggs...)

To add a 20x20 spacer:
  sizer.Add((20, 20), spam, eggs...)

Also, it seems from my limited testing that wx.StaticLine does not
respond to changes in the first value of the size attribute. It
still runs edge-to-edge in the panel. Any hints?

Are you adding the line to the sizer with a wx.EXPAND flag?

-- tacao

No bits were harmed during the making of this e-mail.