mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:25:58 +08:00
Solve layout warnings.
This commit is contained in:
parent
d8e212581b
commit
1a787e5df2
@ -126,7 +126,7 @@ Window
|
|||||||
TabBar
|
TabBar
|
||||||
{
|
{
|
||||||
id: pageSelectionTabBar
|
id: pageSelectionTabBar
|
||||||
anchors.right: parent.right
|
Layout.alignment: Qt.AlignRight
|
||||||
height: UM.Theme.getSize("button_icon").height
|
height: UM.Theme.getSize("button_icon").height
|
||||||
spacing: 0
|
spacing: 0
|
||||||
background: Rectangle { color: "transparent" }
|
background: Rectangle { color: "transparent" }
|
||||||
|
@ -17,12 +17,8 @@ Rectangle
|
|||||||
property string readMoreUrl
|
property string readMoreUrl
|
||||||
|
|
||||||
Layout.preferredHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
|
Layout.preferredHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
|
||||||
anchors
|
Layout.fillWidth: true
|
||||||
{
|
Layout.margins: UM.Theme.getSize("default_margin").width
|
||||||
margins: UM.Theme.getSize("default_margin").width
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
}
|
|
||||||
|
|
||||||
color: UM.Theme.getColor("action_panel_secondary")
|
color: UM.Theme.getColor("action_panel_secondary")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user