As my first post, I'd like to thank all of the developers and testers for a wonderful program. I was introduced last year and used it all summer on my boat
with not a single
I am trying to program a small "engine management" dashboard plugin. This is my first go with wxwidgets so the learning
process has been a little slow.
I have recycled some of demo_pi_sample (which I see has been unsupported for a while) and some "DashboardInstrument_Speedometer" objects from the dashboard plugin.
I have a 4 wide by 2 high wxGridSizer where I am inserting the speedometer objects and using them for things like RPM
press, temp, etc.
I have the dials working and data changing, but I am having problems with the sizer. When I resize the plugin window, the dials resize, but not in proportion to the wxgridsizer. It takes a bunch of resizing the window to get back to an appropriately sized dial.
Some snippets from my code
itemGridSizer = new wxGridSizer( 2, 4, 0, 0 );
= new DashboardInstrument_Speedometer( this, wxID_ANY, ............
itemGridSizer->Add( rpm, 0, wxEXPAND, 0 ); - and so on for the other 7 guages
I have tried modelling my OnSize event similar to Dashboard's but that doesn't seem to work
yet, although I think that is where the answer will be...