Solve layout warnings.

This commit is contained in:
Remco Burema 2021-12-01 13:22:50 +01:00
parent d8e212581b
commit 1a787e5df2
No known key found for this signature in database
GPG Key ID: 215C49431D43F98C
2 changed files with 3 additions and 7 deletions

View File

@ -126,7 +126,7 @@ Window
TabBar
{
id: pageSelectionTabBar
anchors.right: parent.right
Layout.alignment: Qt.AlignRight
height: UM.Theme.getSize("button_icon").height
spacing: 0
background: Rectangle { color: "transparent" }

View File

@ -17,12 +17,8 @@ Rectangle
property string readMoreUrl
Layout.preferredHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
anchors
{
margins: UM.Theme.getSize("default_margin").width
left: parent.left
right: parent.right
}
Layout.fillWidth: true
Layout.margins: UM.Theme.getSize("default_margin").width
color: UM.Theme.getColor("action_panel_secondary")