On 6/7/07, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Jun 7, 2007, at 11:43 AM, Nate Lowrie wrote: > > >> I just tried to create a dOkCancelDialog class, but when I run it, > >> all > >> the controls in the body of the dialog are crammed in the upper left > >> corner, and the ok/cancel buttons are in the middle of the dialog > >> instead of the lower right corner. What am I doing wrong? > > > > This is normally an instance of creating a bunch of controls and not > > adding them to the main sizer. I have forgotten on occasion to add > > one sizer to the main sizer and that will cause the squished look. > > First, that's impossible to do in the Class Designer - controls have > to be added to slots, and slots are automatically part of the sizer.
Ah, forgot we were talking about the class designer here.... > > Second, I think I've tracked down the culprit. I need to do some > more tests to be sure it works in all cases. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > [excessive quoting removed by server] _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
