-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#216 g UI crash on raspberry #225
Conversation
@GewoonGijs now you've put me on the CallAfter() track; I also noted that the UI works better. The data-fields op top of the SpeedMeters did not always refresh and all I knew to do is the code in Perhaps you can answer the question why Perhaps it's related to the drawing actions in OnPaint(). Your suggestions are appreciated |
Hi Wouter, I just looked in to it, and i think the problem is that the TextCtrl's are on top of the SpeedMeter controls. As is explained here http://wxpython-users.1045709.n5.nabble.com/wxPanels-and-Raise-td2316013.html wxPython has nog proper way to handle two controls that are placed on top of each other. I think the proper way to solve this is to place the textCtrl's below the SpeedMeter gauges. Maybe you can make the SpeedMeter a little less hig, and create som space for the text Ctrl's. The self.panel.Refresh() works, because the complete panel is painted from scratch every cycle I think. |
Thanks. I keep it asis then - no big issue. |
* Fix ANT command status response (page 71) * Fix initial page 71 sequence number, add comments explaining page 71 data
Change history updated
@WouterJD I tested it yesterday evening, and it worked like a charm. Had a nice workout on Strava :)