зеркало из https://github.com/nextcloud/desktop.git
Fix unified search input placeholder text alignment and radius.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Родитель
da12402206
Коммит
228e561d66
|
@ -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
|
||||
|
|
|
@ -659,7 +659,7 @@ ApplicationWindow {
|
|||
|
||||
UnifiedSearchInputContainer {
|
||||
id: trayWindowUnifiedSearchInputContainer
|
||||
height: Style.trayWindowHeaderHeight * 0.65
|
||||
height: Math.max(Style.talkReplyTextFieldPreferredHeight, contentHeight)
|
||||
|
||||
anchors {
|
||||
top: trayWindowHeaderBackground.bottom
|
||||
|
|
Загрузка…
Ссылка в новой задаче