mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 04:55:09 +08:00
Solve layout warnings.
This commit is contained in:
parent
d8e212581b
commit
1a787e5df2
@ -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" }
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user