If we can get this fixed, I'm sold on CodeLite and wxCrafter. Now, to the issue.
I'm following a wxCrafter tutorial on youtube, one of yours, I think. Nice tutorial. But after I lay out the three wxGrids and click "Show Preview", the Form's background is incomplete. The wxGrid, too. In the pic, the Preview is the bottom Form.
I tried wxCrafter once before and it was the same way. I super like the tool, but this is a deal breaker for me.
Why is this happening? And what can be done to "fix" it?
[SOLVED] Form background and wxGrid incomplete
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Tue Dec 11, 2012 1:06 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
[SOLVED] Form background and wxGrid incomplete
Last edited by Landslyde on Thu Dec 12, 2019 12:39 am, edited 1 time in total.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
can you show the 'tree view' part of the designer?
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Tue Dec 11, 2012 1:06 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
it is recommended to put a wxPanel as the only direct child of wxFrame and then add the controls as teh children of this wxPanel
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Tue Dec 11, 2012 1:06 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
can you upload the wxcp file?
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Tue Dec 11, 2012 1:06 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
Hope this helps. I was messing around with it while waiting on your response and took out the panel.
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
Multiple issues:
- Make the wxPanel Expand + Sizer proportion of 1
- the m_mainPanel must not have borders (so it will cover the main frame *completely*)
The above are wxWidgets properties, and non of them is a bug...
I added some border to the wxGrid + added some columns and rows for visibility
I also fixed some alignment issues
See attached fixed wxcp file
- Make the wxPanel Expand + Sizer proportion of 1
- the m_mainPanel must not have borders (so it will cover the main frame *completely*)
The above are wxWidgets properties, and non of them is a bug...
I added some border to the wxGrid + added some columns and rows for visibility
I also fixed some alignment issues
See attached fixed wxcp file
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
-
- CodeLite Enthusiast
- Posts: 17
- Joined: Tue Dec 11, 2012 1:06 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Form background and wxGrid incomplete
Looks right. The video I watched had no sound to it, and that made it a little difficult to follow. That, and he/she did the work kind of fast.
Thanks, eranif.
Thanks, eranif.