Page 1 of 1

Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 4:32 pm
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

Re: Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 4:48 pm
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

Re: Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 5:34 pm
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.

Re: Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 5:51 pm
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

Re: Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 8:46 pm
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 :)

Re: Controls dissapear in design but appear in preview

Posted: Sat Jan 03, 2015 9:31 pm
by eranif
This was already fixed in git head. the common workspace options can be found under the file menu