Project

General

Profile

Bug #708

Plot Minimum Size

Added by Anonymous almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
legacy
Target version:
-
Start date:
20/06/2016
Due date:
% Done:

0%

Estimated time:
Spent time:
revision:
r0
blocked:
No
Sprint:

Description

I have difficulties to set a minimum size for a plot.

I tried to reimplement sizeHint, minimumSizeHint, and to call setMinimumSize without success.

History

#1 Updated by Anonymous almost 5 years ago

Problem solved.
QChartView is setting its minimum size to the QChart minimum size.
I changed the chart minimum size and everything works fine now.

#2 Updated by Anonymous almost 5 years ago

  • 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

#3 Updated by Nicolas Aunai over 3 years ago

  • Status changed from Resolved to Closed

#4 Updated by Nicolas Aunai over 2 years ago

  • Category set to legacy

Also available in: Atom PDF