Color icons in workspace dialog so they are themed correctly in dark mode.

Don't show name when defaulting to create new printer.

CURA-9424
This commit is contained in:
Joey de l'Arago 2022-11-17 13:01:20 +01:00
parent b0160b2d86
commit 70f7f68a51
2 changed files with 3 additions and 1 deletions

View file

@ -96,7 +96,7 @@ UM.Dialog
WorkspaceRow WorkspaceRow
{ {
leftLabelText: catalog.i18nc("@action:label", manager.isPrinterGroup ? "Printer Group" : "Printer Name") leftLabelText: catalog.i18nc("@action:label", manager.isPrinterGroup ? "Printer Group" : "Printer Name")
rightLabelText: manager.machineName rightLabelText: manager.machineName == "Create new" ? "" : manager.machineName
} }
} }

View file

@ -36,6 +36,7 @@ Item
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
source: "" source: ""
height: UM.Theme.getSize("medium_button_icon").height height: UM.Theme.getSize("medium_button_icon").height
color: UM.Theme.getColor("text")
width: height width: height
} }
UM.Label UM.Label
@ -95,6 +96,7 @@ Item
visible: comboboxTooltipText != "" visible: comboboxTooltipText != ""
source: UM.Theme.getIcon("Help") source: UM.Theme.getIcon("Help")
color: UM.Theme.getColor("text")
UM.ToolTip UM.ToolTip
{ {