Bug #708
closed
Added by Anonymous over 8 years ago.
Updated almost 6 years ago.
Description
I have difficulties to set a minimum size for a plot.
I tried to reimplement sizeHint, minimumSizeHint, and to call setMinimumSize without success.
Problem solved.
QChartView is setting its minimum size to the QChart minimum size.
I changed the chart minimum size and everything works fine now.
- Status changed from New to Resolved
Fixed this issue by giving a minimum size to the chart in Plot::initPlot
and adding setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding) in CustomChartView
- Status changed from Resolved to Closed
Also available in: Atom
PDF