User forums > Using Code::Blocks

wxSmith: exchanging sizers?

(1/1)

Outis:
Hi,

I created a new frame and started it with a wxGridSizer. Now that i've added lots of items, it looks a bit ugly. Is there a way to exchange the wxGridSizer with a wxFlexGridSizer without loosing it's content?
thx

byo:

--- Quote from: Outis on June 28, 2007, 07:54:12 am ---Hi,

I created a new frame and started it with a wxGridSizer. Now that i've added lots of items, it looks a bit ugly. Is there a way to exchange the wxGridSizer with a wxFlexGridSizer without loosing it's content?
thx

--- End quote ---

You can exchange it manually - open corresponding .wxs file in any text editor, seach for wxGridSizer text and replace it with wxFlexGridSizer :). Make sure that you edit when resource is NOT opened in wxSmith.

This process may be easily automated, but that will be done after 1.0 release.

Regards
   BYO

frithjofh:
Hi,

how about letting one change the class of the sizer in the properties tab: that line where it says class name...

regards

frithjofh

Outis:
@byo thanks, my frame looks pretty nice now  :wink:

Navigation

[0] Message Index

Go to full version