mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 14:16:01 +08:00
Switch the anchors to paddings
Otherwise the bottomb button would extend from the popup. CURA-6598
This commit is contained in:
parent
7f3b55a286
commit
994e0e53cc
@ -17,6 +17,9 @@ Popup
|
|||||||
property color backgroundColor: UM.Theme.getColor("main_background")
|
property color backgroundColor: UM.Theme.getColor("main_background")
|
||||||
property color borderColor: UM.Theme.getColor("lining")
|
property color borderColor: UM.Theme.getColor("lining")
|
||||||
|
|
||||||
|
topPadding: UM.Theme.getSize("narrow_margin").height
|
||||||
|
rightPadding: UM.Theme.getSize("default_lining").width
|
||||||
|
leftPadding: UM.Theme.getSize("default_lining").width
|
||||||
padding: 0
|
padding: 0
|
||||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
||||||
background: Cura.RoundedRectangle
|
background: Cura.RoundedRectangle
|
||||||
@ -36,18 +39,6 @@ Popup
|
|||||||
|
|
||||||
contentItem: Column
|
contentItem: Column
|
||||||
{
|
{
|
||||||
anchors
|
|
||||||
{
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: UM.Theme.getSize("default_lining").width
|
|
||||||
|
|
||||||
right: parent.right
|
|
||||||
rightMargin: UM.Theme.getSize("default_lining").width
|
|
||||||
|
|
||||||
top: parent.top
|
|
||||||
topMargin: UM.Theme.getSize("narrow_margin").height
|
|
||||||
}
|
|
||||||
|
|
||||||
// This repeater adds the intent labels
|
// This repeater adds the intent labels
|
||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user