QCustomPlot Discussion and Comments

Holding Aspect RatioReturn to overview

I'm not sure if this is question for here or for Qt. I have a plot that I want to hold the height/width aspect ratio (e.g. keep it square) regardless of the size the user has set the dialog window. Haven't been able to figure it out.

Thanks for any guidance!

It's indeed a Qt thing. How to keep widgets at a special aspect ratio is for example explained in this stackoverflow post.