Page 1 of 1

How to do one button, which I want?

Posted: Wed Oct 01, 2014 8:40 am
by shurshur
Hello! I am sorry, I speak English very bad

1) I create wxWidgetsDialog (or wxWidgetsFrame)
2) Then I do one button, she has size as form! I need to use wxBoxSizer, for button have normal size
3) But button is there, where wxBoxSizer she place! Left side or right side or top side etc (CHAPTER 7, the book "Cross-Platform GUI Programming with wxWidgets")

I unlike this. I want for button is there, where I move her by mouse by visual design!

Thank!

Re: How to do one button, which I want?

Posted: Wed Oct 01, 2014 2:21 pm
by shurshur
decision:
1) We must not use sizers! (sizers is only for alligments components)
2) We need use: Frame+Panel+Button+:

Tools->Designer Options->Code Generation Options + ("Use Default Position" and "Use Default Size")
+++++++++++++++++++++++++++
"Use Default Position" and "Use Default Size" must be unactived!

Goodbay!