Controls dissapear in design but appear in preview

Post here wxCrafter related issues / features / bugs
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Controls dissapear in design but appear in preview

Post by nezos »

I don't know if i am confusing somewhere wxcrafter, but in desing mode, i don't see some controls in the dlg but in the preview they are visible.
First to notice is that i have 2 sizers with Proportion equal to 1, which would mean that the space should be divided equally. This does not happen in design mode.

Can you please check the sample code i attach:
sample.wxcp
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Controls dissapear in design but appear in preview

Post by eranif »

Remove the size limit set to the top level wxDialog (see screenshot), simply set it to

Code: Select all

-1,-1
wxc.png
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Controls dissapear in design but appear in preview

Post by nezos »

Ah sorry i missed it. Was looking all others but the Dlg! Thanks Eran.

One more thing, probably you know it. Clicking the arrow of the generate code icon and then selecting Generate Code does not produce code.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Controls dissapear in design but appear in preview

Post by eranif »

nezos wrote:ne more thing, probably you know it. Clicking the arrow of the generate code icon and then selecting Generate Code does not produce code.
You are selecting the title of the menu :)

See attached
wxc-1.png
wxc-2.png
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Controls dissapear in design but appear in preview

Post by nezos »

:shock: , i wasn't expecting a title there! I thought below were the options... Just like i was searching for the menu option to close the workspace in the File menu, well you had it right under workspace but like most software close their project/workspace from the file menu :)
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Controls dissapear in design but appear in preview

Post by eranif »

This was already fixed in git head. the common workspace options can be found under the file menu
Make sure you have read the HOW TO POST thread
Post Reply