Project

General

Profile

Actions

Bug #708

closed

Plot Minimum Size

Added by Anonymous over 5 years ago. Updated almost 3 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.

Actions #1

Updated by Anonymous over 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.

Actions #2

Updated by Anonymous over 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

Actions #3

Updated by Nicolas Aunai over 4 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Nicolas Aunai almost 3 years ago

  • Category set to legacy
Actions

Also available in: Atom PDF