Skip to content

#250 Set plot aspect ratio

Marko Vendelin requested to merge bug/250-fix-ratios into main

Turned out that setting aspect ratio via QWidget methods is either buggy on Qt side or I don't know how to use it specifically. This MR is using QLayout approach and ensures that the plot aspect ratio is kept by default, minimal size of the plot is ensured, and maximal height is set in accordance with the available space.

Please review.

Fixes: #250 (closed)

Merge request reports