width: height
height: parent.height
- // TODO: the current style does not support customization of this control
- Rectangle {
- radius: width / 2
- color: textFieldBorder.color
- }
-
flat: true
icon.source: "image://svgimage-custom-color/confirm.svg" + "/" + root.secondaryColor
icon.color: hovered && enabled ? UserModel.currentUser.accentColor : root.secondaryColor
selectByMouse: true
- // TODO: the current style does not support customization of this control
- background: Rectangle {
- id: textFieldBorder
- radius: Style.slightlyRoundedButtonRadius
- border.width: Style.normalBorderWidth
- border.color: root.activeFocus ? root.validInput ? root.accentColor : Style.errorBoxBackgroundColor : root.secondaryColor
- color: palette.base
- }
-
Button {
id: submitButton
onAccepted: sendReplyMessage()
- // TODO
- // background: Rectangle {
- // id: replyMessageTextFieldBorder
- // radius: width / 2
- // border.width: Style.normalBorderWidth
- // border.color: replyMessageTextField.activeFocus ? UserModel.currentUser.accentColor : palette.dark
- // color: palette.window
- // }
-
Button {
id: sendReplyMessageButton
selectByMouse: true
- // TODO
- // background: Rectangle {
- // radius: Style.slightlyRoundedButtonRadius
- // border.color: parent.activeFocus ? UserModel.currentUser.accentColor : palette.dark
- // border.width: Style.normalBorderWidth
- // color: palette.window
- // }
-
Image {
id: trayWindowUnifiedSearchTextFieldSearchIcon
width: Style.trayListItemIconSize - anchors.leftMargin