Fix unified search input placeholder text alignment and radius.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-12 21:59:29 +02:00 committed by backportbot[bot]
parent 662e859308
commit c059c55131
2 changed files with 8 additions and 1 deletions

View File

@ -41,9 +41,16 @@ TextField {
rightPadding: trayWindowUnifiedSearchTextFieldClearTextButton.width + trayWindowUnifiedSearchTextFieldClearTextButton.anchors.rightMargin + textFieldHorizontalPaddingOffset
placeholderText: qsTr("Search files, messages, events …")
verticalAlignment: Qt.AlignVCenter
selectByMouse: true
background: Rectangle {
border.color: palette.dark
radius: Style.trayWindowRadius
color: palette.window
}
Image {
id: trayWindowUnifiedSearchTextFieldSearchIcon
width: Style.trayListItemIconSize - anchors.leftMargin

View File

@ -659,7 +659,7 @@ ApplicationWindow {
UnifiedSearchInputContainer {
id: trayWindowUnifiedSearchInputContainer
height: Style.trayWindowHeaderHeight * 0.65
height: Math.max(Style.talkReplyTextFieldPreferredHeight, contentHeight)
anchors {
top: trayWindowHeaderBackground.bottom