mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:36:04 +08:00
Solve layout warnings.
This commit is contained in:
parent
df66bcb541
commit
c1cffa09fe
@ -117,7 +117,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