mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Modify small UI things in the Add Printer dialog
This commit is contained in:
parent
8d6136bcf3
commit
32c8bbfb3c
4 changed files with 7 additions and 11 deletions
|
@ -41,10 +41,7 @@ Item
|
|||
|
||||
onClicked:
|
||||
{
|
||||
if (contentShown)
|
||||
{
|
||||
addLocalPrinterDropDown.contentShown = false
|
||||
}
|
||||
addLocalPrinterDropDown.contentShown = !contentShown
|
||||
}
|
||||
|
||||
contentComponent: networkPrinterListComponent
|
||||
|
@ -79,16 +76,13 @@ Item
|
|||
anchors.top: addNetworkPrinterDropDown.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.topMargin: UM.Theme.getSize("wide_margin").height
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
|
||||
title: catalog.i18nc("@label", "Add a non-networked printer")
|
||||
|
||||
onClicked:
|
||||
{
|
||||
if (contentShown)
|
||||
{
|
||||
addNetworkPrinterDropDown.contentShown = false
|
||||
}
|
||||
addNetworkPrinterDropDown.contentShown = !contentShown
|
||||
}
|
||||
|
||||
contentComponent: localPrinterListComponent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue