mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:39:07 +08:00
CURA-4870 Add line separator between machine selector and sync button
This commit is contained in:
parent
3629c3959e
commit
ae5f1c3408
@ -88,12 +88,22 @@ Rectangle
|
|||||||
|
|
||||||
MachineSelection {
|
MachineSelection {
|
||||||
id: machineSelection
|
id: machineSelection
|
||||||
width: base.width - configSelection.width
|
width: base.width - configSelection.width - separator.width
|
||||||
height: UM.Theme.getSize("sidebar_header").height
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
anchors.top: base.top
|
anchors.top: base.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle
|
||||||
|
{
|
||||||
|
id: separator
|
||||||
|
visible: configSelection.visible
|
||||||
|
width: visible ? Math.round(UM.Theme.getSize("sidebar_lining_thin").height / 2) : 0
|
||||||
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
|
color: UM.Theme.getColor("sidebar_lining_thin")
|
||||||
|
anchors.left: machineSelection.right
|
||||||
|
}
|
||||||
|
|
||||||
ConfigurationSelection {
|
ConfigurationSelection {
|
||||||
id: configSelection
|
id: configSelection
|
||||||
visible: printerConnected && !sidebar.monitoringPrint && !sidebar.hideSettings
|
visible: printerConnected && !sidebar.monitoringPrint && !sidebar.hideSettings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user