Author Topic: wxSmith: Have a hotkey to Move up or Move down?  (Read 2728 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
wxSmith: Have a hotkey to Move up or Move down?
« 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!

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith: Have a hotkey to Move up or Move down?
« Reply #1 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