mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Align the buttons at the bottom of the panel
Contributes to CURA-5941.
This commit is contained in:
parent
f67c725b2a
commit
bc8bf87809
2 changed files with 45 additions and 29 deletions
|
|
@ -163,6 +163,7 @@ Item
|
|||
onExited: background.color = headerBackgroundColor
|
||||
}
|
||||
}
|
||||
|
||||
DropShadow
|
||||
{
|
||||
id: shadow
|
||||
|
|
@ -182,7 +183,7 @@ Item
|
|||
id: popup
|
||||
|
||||
// Ensure that the popup is located directly below the headerItem
|
||||
y: headerItemLoader.height + 2 * background.padding + base.shadowOffset + popupSpacingY
|
||||
y: background.height + base.shadowOffset + popupSpacingY
|
||||
|
||||
// Make the popup aligned with the rest, using the property popupAlignment to decide whether is right or left.
|
||||
// In case of right alignment, the 3x padding is due to left, right and padding between the button & text.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue