1
0
Fork 0

Modified AircraftRating item width

This commit is contained in:
Gonzalo Pesquero 2021-12-11 23:48:03 +01:00 committed by James Turner
parent c4c29f33d4
commit 8d4bd24235
2 changed files with 3 additions and 2 deletions

View file

@ -196,7 +196,8 @@ Rectangle {
rows: 2 rows: 2
columns: 3 columns: 3
rowSpacing: Style.margin rowSpacing: Style.margin
columnSpacing: Style.margin columnSpacing: Style.margin * 3
horizontalItemAlignment: Grid.AlignRight
StyledText { StyledText {
id: ratingsLabel id: ratingsLabel

View file

@ -7,7 +7,7 @@ Item {
property string title: "" property string title: ""
property int value: 3 property int value: 3
implicitWidth: Style.strutSize * 3 implicitWidth: label.implicitWidth + ratingRow.implicitWidth + Style.margin
implicitHeight: label.height implicitHeight: label.height
StyledText { StyledText {