Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: SolidNuts on February 15, 2006, 05:48:36 pm

Title: I'm really not oK with sizers =/ HELP
Post by: SolidNuts on February 15, 2006, 05:48:36 pm
Ps.. sry bad english

I can't be ok with the sizers =/
They just don't like me =(.. someone could help me use it ??

It's just.. i want add a button at the bottom.. but there is a TextControll up there! And just cuz of that i cant add it =/
And when i use a menu in my app, the control that is im the bottom (TextControl) miss it's bottom border =(

I hope you understand my english =]
I'll be waiting desesperated by an answer =P
Title: Re: I'm really not oK with sizers =/ HELP
Post by: Michael on February 15, 2006, 06:04:23 pm
I am not sure to have fully understood.

You are using wxSmith, right? If yes, have a look at here:

http://wiki.codeblocks.org/index.php?title=WxSmith_Tutorial_%26_Pointers

Which C::B version and OS are you using?

Michael
Title: Re: I'm really not oK with sizers =/ HELP
Post by: SolidNuts on February 15, 2006, 06:16:54 pm
OS: Windows XP PRO SP2
C::B Version: Nightly build from 14 february
Yes, i'm using wxSmith

Problem: Sizers, i would like to put buttons & etc where I want to put, not where sizers let me.. that's it
Like VB and Delphi you know?

Solved: Problem was with cols and rows, now i've discovered it =]
Title: Re: I'm really not oK with sizers =/ HELP
Post by: yop on February 15, 2006, 06:56:13 pm
Yes, i'm using wxSmith
Problem: ...
Just a hint, play around a bit with wxSmith (press any button you can find put any widgets you can possibly do, just mess around) and you 'll find out how it operates. Then building any dialog is a couple of minutes away. I was used to Qt Designer and at first I was lost because I was trying to do things the way I was used to do. But after one day or so I was really comfortable with it.
Title: Re: I'm really not oK with sizers =/ HELP
Post by: byo on February 15, 2006, 10:57:45 pm
You can put buttons anywhere You like, just remove main sizer in window and put Your buttons right into it.
Currently wxSmith doesn't support this mode well (there's no snap to grid etc), and the main problem maybe that currently window size can not be changed in editor. But You can try :)

I promise that after reaching required level of stabilityin wxSmith I'll work on this :)