Skip to content

Commit

Permalink
Fix anchor fill of QML
Browse files Browse the repository at this point in the history
  • Loading branch information
rprospero committed May 30, 2024
1 parent d498b90 commit 91bb004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui-qml/qml/charting/Data1D.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QtCharts

ChartView {
title: "1D Chart"
anchors.fill: true
anchors.fill: parent
antialiasing: true

LineSeries {
Expand All @@ -21,4 +21,4 @@ ChartView {
XYPoint{x: 9; y: 18}
XYPoint{x: 10; y: 20}
}
}
}

0 comments on commit 91bb004

Please sign in to comment.