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