How to improve this GUI (trouble with sizers) - app src included

I’m not sure exactly what you’re asking; I downloaded your example and gave it a go, and it all seems to align properly. Things get added up to the blue area, the text portion of which expands out and the little ‘del’ boxes are all aligned along the right.

What’s happening for you?

When i add new item then statictext is not expanded and “del” button is not aligned right (statictext and button have together 1/3 width of panel):confused: When i resize frame - all is ok. When when i add next item - items are not aligned properly. When i resize frame - now is OK :slight_smile: Mayby i must call Layout or another command? If i resize frame - items are aligned perfectly.

Sorry for my terrible english :slight_smile:

Have you tried upgrading the wxPython to the latest 2.8.1.1? Maybe it fixes your problem. (On XP it works as it should)
If the upgrade doesn’t work… try adding a call to the sizer’s Layout.

···

On 3/14/07, Wojtek P wojtulek@gmail.com wrote:

I’m not sure exactly what you’re asking; I downloaded your example and gave it a go, and it all seems to align properly. Things get added up to the blue area, the text portion of which expands out and the little ‘del’ boxes are all aligned along the right.

What’s happening for you?

When i add new item then statictext is not expanded and “del” button is not aligned right (statictext and button have together 1/3 width of panel):confused: When i resize frame - all is ok. When when i add next item - items are not aligned properly. When i resize frame - now is OK :slight_smile: Mayby i must call Layout or another command? If i resize frame - items are aligned perfectly.

Sorry for my terrible english :slight_smile:


There is NO FATE, we are the creators.