How to do one button, which I want?

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
shurshur
In need of some credit
In need of some credit
Posts: 2
Joined: Wed Oct 01, 2014 8:34 am

How to do one button, which I want?

Postby shurshur » Wed Oct 01, 2014 8:40 am

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!

shurshur
In need of some credit
In need of some credit
Posts: 2
Joined: Wed Oct 01, 2014 8:34 am

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

Postby shurshur » Wed Oct 01, 2014 2:21 pm

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!


Return to “wxDev-C++”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest