mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
CURA-4870 Add line separator between machine selector and sync button
This commit is contained in:
parent
3629c3959e
commit
ae5f1c3408
1 changed files with 11 additions and 1 deletions
|
@ -88,12 +88,22 @@ Rectangle
|
|||
|
||||
MachineSelection {
|
||||
id: machineSelection
|
||||
width: base.width - configSelection.width
|
||||
width: base.width - configSelection.width - separator.width
|
||||
height: UM.Theme.getSize("sidebar_header").height
|
||||
anchors.top: base.top
|
||||
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 {
|
||||
id: configSelection
|
||||
visible: printerConnected && !sidebar.monitoringPrint && !sidebar.hideSettings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue