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
height: parent.height - 25
Text
Label
{
text: manager.getChangeLogString()
width:base.width - 35

View file

@ -20,7 +20,7 @@ UM.Dialog
title: catalog.i18nc("@title:window", "Convert Image...")
GridLayout
GridLayout
{
UM.I18nCatalog{id: catalog; name:"cura"}
anchors.fill: parent;
@ -36,7 +36,7 @@ UM.Dialog
Row {
width: parent.width
Text {
Label {
text: catalog.i18nc("@action:label","Height (mm)")
width: 150
anchors.verticalCenter: parent.verticalCenter
@ -59,7 +59,7 @@ UM.Dialog
Row {
width: parent.width
Text {
Label {
text: catalog.i18nc("@action:label","Base (mm)")
width: 150
anchors.verticalCenter: parent.verticalCenter
@ -74,7 +74,7 @@ UM.Dialog
}
}
}
UM.TooltipArea {
Layout.fillWidth:true
height: childrenRect.height
@ -82,7 +82,7 @@ UM.Dialog
Row {
width: parent.width
Text {
Label {
text: catalog.i18nc("@action:label","Width (mm)")
width: 150
anchors.verticalCenter: parent.verticalCenter
@ -98,7 +98,7 @@ UM.Dialog
}
}
}
UM.TooltipArea {
Layout.fillWidth:true
height: childrenRect.height
@ -106,7 +106,7 @@ UM.Dialog
Row {
width: parent.width
Text {
Label {
text: catalog.i18nc("@action:label","Depth (mm)")
width: 150
anchors.verticalCenter: parent.verticalCenter
@ -121,7 +121,7 @@ UM.Dialog
}
}
}
UM.TooltipArea {
Layout.fillWidth:true
height: childrenRect.height
@ -130,7 +130,7 @@ UM.Dialog
width: parent.width
//Empty label so 2 column layout works.
Text {
Label {
text: ""
width: 150
anchors.verticalCenter: parent.verticalCenter
@ -152,7 +152,7 @@ UM.Dialog
Row {
width: parent.width
Text {
Label {
text: catalog.i18nc("@action:label","Smoothing")
width: 150
anchors.verticalCenter: parent.verticalCenter

View file

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

View file

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