Fix color of some texts on Linux with dark theme

Use Label{} instead of Text{}

CURA-1143
This commit is contained in:
fieldOfView 2016-04-07 18:57:11 +02:00
parent 9fe3eb4f01
commit 27e3f8b33f
4 changed files with 15 additions and 15 deletions

View file

@ -21,7 +21,7 @@ UM.Dialog
{ {
width: parent.width width: parent.width
height: parent.height - 25 height: parent.height - 25
Text Label
{ {
text: manager.getChangeLogString() text: manager.getChangeLogString()
width:base.width - 35 width:base.width - 35

View file

@ -36,7 +36,7 @@ UM.Dialog
Row { Row {
width: parent.width width: parent.width
Text { Label {
text: catalog.i18nc("@action:label","Height (mm)") text: catalog.i18nc("@action:label","Height (mm)")
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -59,7 +59,7 @@ UM.Dialog
Row { Row {
width: parent.width width: parent.width
Text { Label {
text: catalog.i18nc("@action:label","Base (mm)") text: catalog.i18nc("@action:label","Base (mm)")
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -82,7 +82,7 @@ UM.Dialog
Row { Row {
width: parent.width width: parent.width
Text { Label {
text: catalog.i18nc("@action:label","Width (mm)") text: catalog.i18nc("@action:label","Width (mm)")
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -106,7 +106,7 @@ UM.Dialog
Row { Row {
width: parent.width width: parent.width
Text { Label {
text: catalog.i18nc("@action:label","Depth (mm)") text: catalog.i18nc("@action:label","Depth (mm)")
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -130,7 +130,7 @@ UM.Dialog
width: parent.width width: parent.width
//Empty label so 2 column layout works. //Empty label so 2 column layout works.
Text { Label {
text: "" text: ""
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -152,7 +152,7 @@ UM.Dialog
Row { Row {
width: parent.width width: parent.width
Text { Label {
text: catalog.i18nc("@action:label","Smoothing") text: catalog.i18nc("@action:label","Smoothing")
width: 150 width: 150
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View file

@ -22,17 +22,17 @@ UM.Dialog
Row Row
{ {
spacing: UM.Theme.getSize("default_margin").width; spacing: UM.Theme.getSize("default_margin").width;
Text Label
{ {
//: USB Printing dialog label, %1 is head temperature //: USB Printing dialog label, %1 is head temperature
text: catalog.i18nc("@label","Extruder Temperature %1").arg(manager.extruderTemperature) text: catalog.i18nc("@label","Extruder Temperature %1").arg(manager.extruderTemperature)
} }
Text Label
{ {
//: USB Printing dialog label, %1 is bed temperature //: USB Printing dialog label, %1 is bed temperature
text: catalog.i18nc("@label","Bed Temperature %1").arg(manager.bedTemperature) text: catalog.i18nc("@label","Bed Temperature %1").arg(manager.bedTemperature)
} }
Text Label
{ {
text: "" + manager.error text: "" + manager.error
} }

View file

@ -101,7 +101,7 @@ Item
height: UM.Theme.getSize("standard_list_lineheight").height height: UM.Theme.getSize("standard_list_lineheight").height
width: machineList.width width: machineList.width
} }
label: Text { label: Label {
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("standard_arrow").width + UM.Theme.getSize("default_margin").width anchors.leftMargin: UM.Theme.getSize("standard_arrow").width + UM.Theme.getSize("default_margin").width
text: control.text text: control.text