Author Topic: wxSmith strange bug  (Read 3665 times)

Offline wral

  • Single posting newcomer
  • *
  • Posts: 2
wxSmith strange bug
« on: March 03, 2013, 11:06:48 pm »
When i try to create a button or input using wxSmith, this button or input fit whole frame. I cant resize it. Even when i manually change size of it its still so big.

http://i.imgur.com/7Huc40A.png

In wxs file it looks like:
Code
<object class="wxButton" name="ID_BUTTON1" variable="Button1" member="yes">
<label>Label</label>
<pos>0,0</pos>
<size>20,30</size>

I dont know, but seems valid.
But after compile and run application looks same as in editor (big button fitting whole frame).

I use the newest codeblocks, and wxWidgets 2.8.12
My system is win xp sp3 32bit

Someone knows how can i deal with it?

Cheers,
wral




« Last Edit: March 03, 2013, 11:14:06 pm by wral »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wxSmith strange bug
« Reply #1 on: March 03, 2013, 11:15:30 pm »
This is a feature, just use sizers :)
For more details: http://docs.wxwidgets.org/2.8/wx_sizeroverview.html
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline wral

  • Single posting newcomer
  • *
  • Posts: 2
Re: wxSmith strange bug
« Reply #2 on: March 03, 2013, 11:26:15 pm »
lol :D

i already "fixed" it by trying to place 2nd button on first button, and both magically resized to small resizeable ones :P