зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #5214 from nextcloud/bugfix/user-status-selector-text-input-sizing
Explicitly size and align user status selector text input to avoid bugs with alternate QtQuick styles
This commit is contained in:
Коммит
9f7592f5d8
|
@ -206,16 +206,20 @@ ColumnLayout {
|
|||
|
||||
TextField {
|
||||
id: userStatusMessageTextField
|
||||
|
||||
property color borderColor: activeFocus ? Style.ncBlue : Style.menuBorder
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: contentHeight + (Style.smallSpacing * 2)
|
||||
|
||||
placeholderText: qsTr("What is your status?")
|
||||
placeholderTextColor: Style.ncSecondaryTextColor
|
||||
text: userStatusSelectorModel.userStatusMessage
|
||||
color: Style.ncTextColor
|
||||
verticalAlignment: TextInput.AlignVCenter
|
||||
selectByMouse: true
|
||||
onEditingFinished: userStatusSelectorModel.userStatusMessage = text
|
||||
|
||||
property color borderColor: activeFocus ? Style.ncBlue : Style.menuBorder
|
||||
|
||||
background: Rectangle {
|
||||
radius: Style.slightlyRoundedButtonRadius
|
||||
color: Style.backgroundColor
|
||||
|
|
Загрузка…
Ссылка в новой задаче