Increase margins on warning to match design

CURA-8849
This commit is contained in:
j.delarago 2022-06-16 13:23:50 +02:00
parent 7d8fdf8bdd
commit 1e5f6bce72
2 changed files with 3 additions and 4 deletions

View File

@ -3,13 +3,10 @@ import QtQuick 2.10
import UM 1.6 as UM import UM 1.6 as UM
import Cura 1.6 as Cura import Cura 1.6 as Cura
Rectangle Item
{ {
height: visible ? UM.Theme.getSize("action_button_icon").height : 0 height: visible ? UM.Theme.getSize("action_button_icon").height : 0
visible: Cura.SimpleModeSettingsManager.isProfileCustomized || Cura.MachineManager.hasCustomQuality visible: Cura.SimpleModeSettingsManager.isProfileCustomized || Cura.MachineManager.hasCustomQuality
anchors.topMargin: UM.Theme.getSize("default_margin")
anchors.bottomMargin: UM.Theme.getSize("default_margin")
Rectangle Rectangle
{ {

View File

@ -62,6 +62,8 @@ Item
{ {
width: parent.width width: parent.width
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: UM.Theme.getSize("thin_margin").height
Layout.bottomMargin: UM.Theme.getSize("thin_margin").height
} }
//Line between the sections. //Line between the sections.