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

@ -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