News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxSmith: exchanging sizers?

Started by Outis, June 28, 2007, 07:54:12 AM

Previous topic - Next topic

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

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
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Outis

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