Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

"C::B Share Configuration" tool

<< < (3/3)

MortenMacFly:

--- Quote from: Game_Ender on August 10, 2006, 02:50:48 pm ---Is this a pluggin or stand alone tool?  It seems like a greate replacement/upgrade for the now dead export configuration function.

--- End quote ---
It's a stand-alone tool. And yes: It was intended to replace the export/import feature - at least for me that is... ;-)
BTW: The configuration cannot and should not be changed from within a running C::B - that's why it is implemented as an external tool.

tiwag:

--- Quote from: MortenMacFly on August 10, 2006, 09:52:09 am ---BTW: This tool has a bug with the controls (frame) not being resized correctly. I didn't find out why, any help is appreciated. Testing is welcome, although I've used this tool successfully quite often already.
--- End quote ---

Hi Morten,
you have to set the Proportion of the Gridsizer, which contains the Listboxes, to value 1,




then it expands the listboxes nicely when resizing the frame,




Proportion= 0 is used to keep the original size, which is wanted for all other controls of this frame.

HTH, tiwag

attached is the updated project


[attachment deleted by admin]

MortenMacFly:

--- Quote from: tiwag on August 11, 2006, 03:08:20 pm ---you have to set the Proportion of the Gridsizer, which contains the Listboxes, to value

--- End quote ---
You are THE MAN. Thanks tiwag, I knew it must have been something simple (simply stupid). Nice work!
With best regards, Morten.
Ps.: I guess I'll add this to SVN sooner or later when it is found to be ok (Yiannis kind of agreed already)...

tiwag:

--- Quote from: MortenMacFly on August 11, 2006, 07:21:48 pm ---... Thanks tiwag, I knew it must have been something simple ...

--- End quote ---

You are welcome !  ;-)


a while ago i spent a half day with try and error to solve this issue ...
... until i've read in the wx manual (Using sizers, Programming with BoxSizers) and there it was explained well ...

Navigation

[0] Message Index

[*] Previous page

Go to full version