Author Topic: WxSmith usage, sizer  (Read 3715 times)

Offline BrokenBrain

  • Single posting newcomer
  • *
  • Posts: 5
WxSmith usage, sizer
« on: April 11, 2008, 10:17:36 am »
I have this Frame



Now I want to put BoxSizer1 in a another orizontal sizer , how to do this?
Do i have to edit the .wxs file myself?
There are only 10 types of people in the world: Those who understand binary, and those who don\\\\\\\'t.

Offline joubertdj

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: WxSmith usage, sizer
« Reply #1 on: April 11, 2008, 11:18:41 am »
... uh ... I first would created the wxBoxSizer where I wanted it, and then in the GUI click and drag the BoxSizer1 within the newly created wxBoxSizer?

Offline BrokenBrain

  • Single posting newcomer
  • *
  • Posts: 5
Re: WxSmith usage, sizer
« Reply #2 on: April 11, 2008, 11:23:24 am »
The problem is that i written a lot of code.
So if I delete the Boxsizer1 I lost the work done.
So I'm lokking for a better solution, the best thing is to add the boxer with wxSmith if ther's a way.
If not, i prefer to edit the xml file of wxSmith rather than rewrite all the code.

There are only 10 types of people in the world: Those who understand binary, and those who don\\\\\\\'t.

Offline joubertdj

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: WxSmith usage, sizer
« Reply #3 on: April 11, 2008, 11:29:52 am »
I have written code and when you move one within the other one... without deleteing it ... you don't lose any code ...

Offline joubertdj

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: WxSmith usage, sizer
« Reply #4 on: April 11, 2008, 11:47:36 am »
 :) Now I see what you mean ... okay ... I have to admit ... it will be a cool feature ... especially if you could "cut" and "paste" between different frames/dialogs...

[EDIT] ... yet using Crtl-X and Ctrl-V does exactly that ... when using the GUI editor ... :lol:
« Last Edit: April 11, 2008, 11:49:53 am by joubertdj »

Offline BrokenBrain

  • Single posting newcomer
  • *
  • Posts: 5
Re: WxSmith usage, sizer
« Reply #5 on: April 11, 2008, 11:53:42 am »
And settings?
I know that i could redo the structure and by usa the same name i can not lose the code but,
i have to set all the label again, and it's very hard work, becauesa they are many.
Just to have an idea



And i have not expanded all...
And if tomorrow i have to change anything else , i have to chage everything again?
That's a problem, i'm thinking to do not use sizers next time  :(

There are only 10 types of people in the world: Those who understand binary, and those who don\\\\\\\'t.