Fix warnings in color assignments
This commit is contained in:
parent
2084d29735
commit
ba689faf16
@ -168,7 +168,7 @@ Item {
|
|||||||
font.weight: theme.defaultFont.weight
|
font.weight: theme.defaultFont.weight
|
||||||
font.wordSpacing: theme.defaultFont.wordSpacing
|
font.wordSpacing: theme.defaultFont.wordSpacing
|
||||||
//color: theme.viewTextColor
|
//color: theme.viewTextColor
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
selectByMouse: verticalScroll.interactive
|
selectByMouse: verticalScroll.interactive
|
||||||
|
|
||||||
onCursorPositionChanged: {
|
onCursorPositionChanged: {
|
||||||
|
@ -131,7 +131,7 @@ Item {
|
|||||||
visible: textInput.text == "" && !textField.activeFocus
|
visible: textInput.text == "" && !textField.activeFocus
|
||||||
// XXX: using textColor and low opacity for theming placeholderText
|
// XXX: using textColor and low opacity for theming placeholderText
|
||||||
// color: theme.viewTextColor
|
// color: theme.viewTextColor
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
opacity: 0.5
|
opacity: 0.5
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
clip: true
|
clip: true
|
||||||
@ -163,7 +163,7 @@ Item {
|
|||||||
}
|
}
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
passwordCharacter: "•"
|
passwordCharacter: "•"
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
//color: theme.textColor
|
//color: theme.textColor
|
||||||
enabled: textField.enabled
|
enabled: textField.enabled
|
||||||
clip: true
|
clip: true
|
||||||
|
@ -298,7 +298,7 @@ Item {
|
|||||||
font.underline: theme.defaultFont.underline
|
font.underline: theme.defaultFont.underline
|
||||||
font.weight: theme.defaultFont.weight
|
font.weight: theme.defaultFont.weight
|
||||||
font.wordSpacing: theme.defaultFont.wordSpacing
|
font.wordSpacing: theme.defaultFont.wordSpacing
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
//color: theme.viewTextColor
|
//color: theme.viewTextColor
|
||||||
selectByMouse: verticalScroll.interactive
|
selectByMouse: verticalScroll.interactive
|
||||||
|
|
||||||
|
@ -273,7 +273,7 @@ FocusScope {
|
|||||||
visible: textInput.text == "" && !textField.activeFocus
|
visible: textInput.text == "" && !textField.activeFocus
|
||||||
// XXX: using textColor and low opacity for theming placeholderText
|
// XXX: using textColor and low opacity for theming placeholderText
|
||||||
//color: theme.viewTextColor
|
//color: theme.viewTextColor
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
opacity: 0.5
|
opacity: 0.5
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
clip: true
|
clip: true
|
||||||
@ -301,7 +301,7 @@ FocusScope {
|
|||||||
}
|
}
|
||||||
passwordCharacter: "•"
|
passwordCharacter: "•"
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
color: Qt.color("black")
|
color: Qt.rgba(0,0,0,1)
|
||||||
// color: theme.textColor
|
// color: theme.textColor
|
||||||
enabled: textField.enabled
|
enabled: textField.enabled
|
||||||
clip: true
|
clip: true
|
||||||
|
Loading…
Reference in New Issue
Block a user