mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:29:02 +08:00
Add missing colours, fixing dark theme
Don't just use white rectangles or black text. Use the theme where appropriate. And these rectangles are just outlines. Contributes to issue CURA-8609.
This commit is contained in:
parent
ce4117a3ee
commit
cd286a006e
@ -279,6 +279,7 @@ Window
|
|||||||
delegate: Rectangle
|
delegate: Rectangle
|
||||||
{
|
{
|
||||||
id: delegateContainer
|
id: delegateContainer
|
||||||
|
color: "transparent"
|
||||||
border.color: UM.Theme.getColor("lining")
|
border.color: UM.Theme.getColor("lining")
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
width: printerListScrollView.width
|
width: printerListScrollView.width
|
||||||
@ -384,11 +385,13 @@ Window
|
|||||||
visible: includeOfflinePrinterList.count - cloudPrinterList.count > 0
|
visible: includeOfflinePrinterList.count - cloudPrinterList.count > 0
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
border.color: UM.Theme.getColor("lining")
|
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
|
border.color: UM.Theme.getColor("lining")
|
||||||
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
|
color: "transparent"
|
||||||
|
|
||||||
RowLayout
|
RowLayout
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
@ -415,6 +418,7 @@ Window
|
|||||||
+ "\n"
|
+ "\n"
|
||||||
+ catalog.i18nc("@text", "Make sure all your printers are turned ON and connected to Digital Factory.")
|
+ catalog.i18nc("@text", "Make sure all your printers are turned ON and connected to Digital Factory.")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user