Fix a crash in the weather view
This commit is contained in:
parent
06688c2cd2
commit
aaee7a8c53
@ -60,12 +60,13 @@ Item {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: mainImageSize
|
Layout.preferredHeight: mainImageSize
|
||||||
|
spacing: Style.margins
|
||||||
|
|
||||||
property int mainImageSize: Style.iconSize * 2
|
property int mainImageSize: Style.iconSize * 2
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredWidth: (parent.width - parent.mainImageSize) / 2
|
Layout.preferredWidth: (parent.width - parent.mainImageSize) / 2 - Style.margins
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
@ -105,7 +106,7 @@ Item {
|
|||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredWidth: (parent.width - parent.mainImageSize) / 2
|
Layout.preferredWidth: (parent.width - parent.mainImageSize) / 2 - Style.margins
|
||||||
GridLayout {
|
GridLayout {
|
||||||
columns: 2
|
columns: 2
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user