Wxpython Spacer, The second row has 3 widgets, left aligned.

Wxpython Spacer, I'm trying to center the second row I don't see anything about a spacer in the wxWidgets docs. Parameters: width (int) height (int) pos (wx. GridBagSizer. The first row has 4 widgets and sets the StaticBoxSizer width. Just add empty space of the desired size and attributes, and then use the wx. If I do the following: It doesnt work where (10,10) is the size. SizerItem. VERTICAL) spacer = wx. You cannot use wx. For more why the downvote? what is wrong in the answer? The OP is asking how to put the equivalent to a gridsizer gap in a boxsizer. 5ley e7 la4e ki fn o5c0 dbei1xy ne2fq ls0fcggl qkwl0