mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:36:01 +08:00
Simplify the horizontal-line in network printer panel
This commit is contained in:
parent
6742348a95
commit
bff9287094
@ -118,23 +118,24 @@ Item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.RoundedRectangle
|
Item
|
||||||
{
|
{
|
||||||
id: controlsRectangle
|
id: controlsRectangle
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: networkPrinterInfo.bottom
|
anchors.top: networkPrinterInfo.bottom
|
||||||
// Make sure that the left, right, and bottom borders do not show up, otherwise you see double
|
|
||||||
// borders.
|
// Horizontal line separating the buttons (below) and the discovered network printers (above)
|
||||||
anchors.bottomMargin: -border.width
|
Rectangle
|
||||||
anchors.leftMargin: -border.width
|
{
|
||||||
anchors.rightMargin: -border.width
|
anchors.left: parent.left
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.right: parent.right
|
||||||
|
height: UM.Theme.getSize("default_lining").width
|
||||||
|
color: UM.Theme.getColor("lining")
|
||||||
|
}
|
||||||
|
|
||||||
height: UM.Theme.getSize("message_action_button").height + UM.Theme.getSize("default_margin").height
|
height: UM.Theme.getSize("message_action_button").height + UM.Theme.getSize("default_margin").height
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
|
||||||
border.color: UM.Theme.getColor("lining")
|
|
||||||
color: "white"
|
|
||||||
cornerSide: Cura.RoundedRectangle.Direction.Down
|
|
||||||
|
|
||||||
Cura.SecondaryButton
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user