News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

WxSmith usage, sizer

Started by BrokenBrain, April 11, 2008, 10:17:36 AM

Previous topic - Next topic

BrokenBrain

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.

joubertdj

... 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?

BrokenBrain

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.

joubertdj

I have written code and when you move one within the other one... without deleteing it ... you don't lose any code ...

joubertdj

#4
 :) 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:

BrokenBrain

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.