Author Topic: I'm really not oK with sizers =/ HELP  (Read 7507 times)

SolidNuts

  • Guest
I'm really not oK with sizers =/ HELP
« 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
« Last Edit: February 15, 2006, 05:52:06 pm by SolidNuts »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: I'm really not oK with sizers =/ HELP
« Reply #1 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

SolidNuts

  • Guest
Re: I'm really not oK with sizers =/ HELP
« Reply #2 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 =]
« Last Edit: February 15, 2006, 06:23:05 pm by SolidNuts »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: I'm really not oK with sizers =/ HELP
« Reply #3 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.
Life would be so much easier if we could just look at the source code.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: I'm really not oK with sizers =/ HELP
« Reply #4 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 :)