Sibylle Koczian wrote: > Hello, > > I put the following things on a form using the class designer: > > - horizontal sizer, expand checked, proportion 0, 3 slots > - button in the left slot, sizer_proportion 0, sizer_expand not checked, > - button in the right slot, same sizer properties, > - spacer in the middle slot, spacing 10. > > If I try to uncheck the expand property of the spacer in the Object Info > dialog, it checks itself again immediately. If I set its proportion to 1 it > changes back to 0 as soon as the form gets the focus. If I choose "Edit sizer > properties" from the spacers context menu the proportion stays at 1, but if I > run the application the buttons are again close together and not separated as > they should be (and as they still look in the class designer). > > So I can't use the spacer to keep the buttons on the right and left side of > the form. Bug in the designer or what am I doing wrong? > > Version: > Platform: GTK > Python Version: 2.5.2 on linux2 > Dabo Version: Version 0.8.4; Revision ~4519 > UI Version: 2.8.7.1 on wxGTK (gtk2) > > In a hand coded form the spacer works as expected.
Not sure if this is the issue as I'm not very familiar with the class designer, but spacers should be a (hor, ver) tuple, not an int. So try changing the spacing of 10 to a spacing of (10,0) or (0,10). Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
