Project

General

Profile

Actions

Bug #708

closed

Plot Minimum Size

Added by Anonymous over 8 years ago. Updated almost 6 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 8 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 8 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 about 7 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Nicolas Aunai almost 6 years ago

  • Category set to legacy
Actions

Also available in: Atom PDF