mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 04:59:08 +08:00
Align progress bar and save button better
So that they don't overlap with the now larger fonts and such. Contributes to issue CURA-4149.
This commit is contained in:
parent
addf6429e5
commit
6a4329c1a0
@ -81,7 +81,6 @@ Item
|
||||
}
|
||||
|
||||
property bool activity: CuraApplication.platformActivity;
|
||||
property int totalHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||
property string fileBaseName
|
||||
property string statusText:
|
||||
{
|
||||
|
@ -18,7 +18,6 @@ Item {
|
||||
property var backend: CuraApplication.getBackend();
|
||||
property bool activity: CuraApplication.platformActivity;
|
||||
|
||||
property int totalHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||
property string fileBaseName
|
||||
property string statusText:
|
||||
{
|
||||
|
@ -397,8 +397,8 @@ Rectangle
|
||||
width: parent.width
|
||||
height: UM.Theme.getSize("sidebar_lining").height
|
||||
color: UM.Theme.getColor("sidebar_lining")
|
||||
anchors.bottom: saveButton.top
|
||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.bottom: printSpecs.top
|
||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height * 2 + UM.Theme.getSize("progressbar").height + UM.Theme.getFont("default_bold").pixelSize
|
||||
}
|
||||
|
||||
Rectangle
|
||||
@ -408,6 +408,7 @@ Rectangle
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
height: childrenRect.height
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
@ -517,7 +518,8 @@ Rectangle
|
||||
{
|
||||
id: saveButton
|
||||
implicitWidth: base.width
|
||||
implicitHeight: totalHeight
|
||||
anchors.top: footerSeparator.bottom
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.bottom: parent.bottom
|
||||
visible: !monitoringPrint
|
||||
}
|
||||
@ -526,7 +528,8 @@ Rectangle
|
||||
{
|
||||
id: monitorButton
|
||||
implicitWidth: base.width
|
||||
implicitHeight: totalHeight
|
||||
anchors.top: footerSeparator.bottom
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.bottom: parent.bottom
|
||||
visible: monitoringPrint
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user