Make fields and text areas respect theme.radius

This commit is contained in:
miruka 2020-03-15 14:29:20 -04:00
parent 1c23450805
commit deb4161bbe
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ ScrollView {
background: Rectangle {
id: textAreaBackground
color: theme.controls.textArea.background
radius: theme.radius
}
Keys.onPressed: if (

View File

@ -28,6 +28,7 @@ TextField {
border.color: error ? errorBorder :
field.activeFocus ? focusedBorderColor : borderColor
border.width: bordered ? theme.controls.textField.borderWidth : 0
radius: bordered ? theme.radius : 0
Behavior on color { HColorAnimation { factor: 0.25 } }
Behavior on border.color { HColorAnimation { factor: 0.25 } }