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

wxSmith: Minor issue with TreeCtrl

<< < (2/2)

cyberkoa:

--- Quote from: MortenMacFly on December 04, 2005, 02:32:05 pm ---I hope you don't mind if I add another question: I found that in several controls there is a size property (for example wxTextCtrl). But whenever I specify a value here I see no change in the underlying sourcecode that is being generated. I would have expected some kind of "SetSize()" or similar. How it this done?

With best regards...

Morten.

--- End quote ---
Try to look at the construction/creation statement (new wxTextCtrl(...) bla bla bla ), the default size is changed there if I'm not mistaken.

byo:

--- Quote from: MortenMacFly on December 04, 2005, 02:32:05 pm ---
I hope you don't mind if I add another question: I found that in several controls there is a size property (for example wxTextCtrl). But whenever I specify a value here I see no change in the underlying sourcecode that is being generated. I would have expected some kind of "SetSize()" or similar. How it this done?

With best regards...

Morten.


--- End quote ---

To use Your own size unselect "Default" property right under size - it blocks it :).
Or resize item with mouse and then adjust Your size manually :)

MortenMacFly:

--- Quote from: byo on December 05, 2005, 12:01:10 am ---To use Your own size unselect "Default" property right under size - it blocks it :).
Or resize item with mouse and then adjust Your size manually :)

--- End quote ---
That did the trick. Thanks a lot for all your help!

Morten.

Navigation

[0] Message Index

[*] Previous page

Go to full version