mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:15:52 +08:00
Changed some margins to improve alignment
CURA-4211
This commit is contained in:
parent
e163cc0d84
commit
34f8db5450
@ -121,7 +121,7 @@ Rectangle
|
|||||||
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width
|
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width
|
||||||
anchors.top: headerSeparator.bottom
|
anchors.top: headerSeparator.bottom
|
||||||
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
||||||
width: parent.width * 0.45 - 2 * UM.Theme.getSize("sidebar_margin").width
|
width: parent.width * 0.45
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
visible: !monitoringPrint
|
visible: !monitoringPrint
|
||||||
@ -223,7 +223,7 @@ Rectangle
|
|||||||
{
|
{
|
||||||
id: globalProfileLabel
|
id: globalProfileLabel
|
||||||
text: catalog.i18nc("@label","Profile:");
|
text: catalog.i18nc("@label","Profile:");
|
||||||
width: parent.width * 0.45 - UM.Theme.getSize("sidebar_margin").width
|
width: parent.width * 0.45 - UM.Theme.getSize("sidebar_margin").width - 2
|
||||||
font: UM.Theme.getFont("default");
|
font: UM.Theme.getFont("default");
|
||||||
color: UM.Theme.getColor("text");
|
color: UM.Theme.getColor("text");
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
@ -247,7 +247,7 @@ Rectangle
|
|||||||
}
|
}
|
||||||
enabled: !header.currentExtruderVisible || header.currentExtruderIndex > -1
|
enabled: !header.currentExtruderVisible || header.currentExtruderIndex > -1
|
||||||
|
|
||||||
width: parent.width * 0.7 + UM.Theme.getSize("sidebar_margin").width
|
width: parent.width * 0.55
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
anchors.left: globalProfileLabel.right
|
anchors.left: globalProfileLabel.right
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
@ -17,7 +17,7 @@ Column
|
|||||||
property int currentExtruderIndex: ExtruderManager.activeExtruderIndex;
|
property int currentExtruderIndex: ExtruderManager.activeExtruderIndex;
|
||||||
property bool currentExtruderVisible: extrudersList.visible;
|
property bool currentExtruderVisible: extrudersList.visible;
|
||||||
|
|
||||||
spacing: UM.Theme.getSize("sidebar_margin").height / 2
|
spacing: UM.Theme.getSize("sidebar_margin").width * 0.9
|
||||||
|
|
||||||
signal showTooltip(Item item, point location, string text)
|
signal showTooltip(Item item, point location, string text)
|
||||||
signal hideTooltip()
|
signal hideTooltip()
|
||||||
@ -58,10 +58,10 @@ Column
|
|||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: parent.left
|
left: parent.left
|
||||||
leftMargin: UM.Theme.getSize("default_margin").width * 1.4
|
leftMargin: UM.Theme.getSize("sidebar_margin").width * 0.7
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: UM.Theme.getSize("default_margin").width * 1.4
|
rightMargin: UM.Theme.getSize("sidebar_margin").width * 0.7
|
||||||
topMargin: UM.Theme.getSize("default_margin").height
|
topMargin: UM.Theme.getSize("sidebar_margin").height
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView
|
ListView
|
||||||
|
@ -40,7 +40,7 @@ Item
|
|||||||
id: infillCellLeft
|
id: infillCellLeft
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height * 0.8
|
||||||
width: UM.Theme.getSize("sidebar").width * .45 - UM.Theme.getSize("sidebar_margin").width
|
width: UM.Theme.getSize("sidebar").width * .45 - UM.Theme.getSize("sidebar_margin").width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ Item
|
|||||||
property alias _hovered: enableSupportMouseArea.containsMouse
|
property alias _hovered: enableSupportMouseArea.containsMouse
|
||||||
|
|
||||||
anchors.top: infillCellRight.bottom
|
anchors.top: infillCellRight.bottom
|
||||||
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height * 2
|
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
||||||
anchors.left: infillCellRight.left
|
anchors.left: infillCellRight.left
|
||||||
|
|
||||||
style: UM.Theme.styles.checkbox;
|
style: UM.Theme.styles.checkbox;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user