Make fields and text areas respect theme.radius
This commit is contained in:
parent
1c23450805
commit
deb4161bbe
|
@ -65,6 +65,7 @@ ScrollView {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
id: textAreaBackground
|
id: textAreaBackground
|
||||||
color: theme.controls.textArea.background
|
color: theme.controls.textArea.background
|
||||||
|
radius: theme.radius
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onPressed: if (
|
Keys.onPressed: if (
|
||||||
|
|
|
@ -28,6 +28,7 @@ TextField {
|
||||||
border.color: error ? errorBorder :
|
border.color: error ? errorBorder :
|
||||||
field.activeFocus ? focusedBorderColor : borderColor
|
field.activeFocus ? focusedBorderColor : borderColor
|
||||||
border.width: bordered ? theme.controls.textField.borderWidth : 0
|
border.width: bordered ? theme.controls.textField.borderWidth : 0
|
||||||
|
radius: bordered ? theme.radius : 0
|
||||||
|
|
||||||
Behavior on color { HColorAnimation { factor: 0.25 } }
|
Behavior on color { HColorAnimation { factor: 0.25 } }
|
||||||
Behavior on border.color { HColorAnimation { factor: 0.25 } }
|
Behavior on border.color { HColorAnimation { factor: 0.25 } }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user