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.wordSpacing: theme.defaultFont.wordSpacing
|
||||
//color: theme.viewTextColor
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
selectByMouse: verticalScroll.interactive
|
||||
|
||||
onCursorPositionChanged: {
|
||||
@ -245,4 +245,4 @@ Item {
|
||||
//print("Hiding...");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ Item {
|
||||
visible: textInput.text == "" && !textField.activeFocus
|
||||
// XXX: using textColor and low opacity for theming placeholderText
|
||||
// color: theme.viewTextColor
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
opacity: 0.5
|
||||
elide: Text.ElideRight
|
||||
clip: true
|
||||
@ -163,7 +163,7 @@ Item {
|
||||
}
|
||||
selectByMouse: true
|
||||
passwordCharacter: "•"
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
//color: theme.textColor
|
||||
enabled: textField.enabled
|
||||
clip: true
|
||||
|
@ -298,7 +298,7 @@ Item {
|
||||
font.underline: theme.defaultFont.underline
|
||||
font.weight: theme.defaultFont.weight
|
||||
font.wordSpacing: theme.defaultFont.wordSpacing
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
//color: theme.viewTextColor
|
||||
selectByMouse: verticalScroll.interactive
|
||||
|
||||
|
@ -273,7 +273,7 @@ FocusScope {
|
||||
visible: textInput.text == "" && !textField.activeFocus
|
||||
// XXX: using textColor and low opacity for theming placeholderText
|
||||
//color: theme.viewTextColor
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
opacity: 0.5
|
||||
elide: Text.ElideRight
|
||||
clip: true
|
||||
@ -301,7 +301,7 @@ FocusScope {
|
||||
}
|
||||
passwordCharacter: "•"
|
||||
selectByMouse: true
|
||||
color: Qt.color("black")
|
||||
color: Qt.rgba(0,0,0,1)
|
||||
// color: theme.textColor
|
||||
enabled: textField.enabled
|
||||
clip: true
|
||||
|
Loading…
Reference in New Issue
Block a user