Code::Blocks

User forums => Using Code::Blocks => Topic started by: Loaden on October 04, 2008, 05:00:25 am

Title: wxSmith: Have a hotkey to Move up or Move down?
Post by: Loaden on October 04, 2008, 05:00:25 am
I'am use wxSmith to create a frame, and add a wxBoxSizer, and this wxBoxSizer have three child wxBoxSizer.
 
My question is: have any method to change the child wxBoxSizer's order?
Thanks!
Title: Re: wxSmith: Have a hotkey to Move up or Move down?
Post by: byo on October 06, 2008, 07:50:19 am
There's no hotkey for that (although very good idea :) ).

Reordering can be done using drag&drop - it will require at least one of internal box sizers to have some border (to be able to point that border with mouse) - when you drag internal sizer and drop it into that border space, the sizer will be put at the end. Now if you do this for all internal sizers, they will be arranged in the order you've dragged them.

BYO