Modified AircraftRating item width
This commit is contained in:
parent
c4c29f33d4
commit
8d4bd24235
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue