mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
fix(DroppableTextArea): fix style and add clip=true on Flickable
This commit is contained in:
parent
5e3e54848f
commit
6a9af0e040
3 changed files with 13 additions and 5 deletions
|
|
@ -36,12 +36,20 @@ Item {
|
|||
TextArea.flickable: TextArea {
|
||||
id: textArea
|
||||
|
||||
background: Rectangle {
|
||||
color: '#FFFFFF'
|
||||
border.color: '#D0D8DE'
|
||||
}
|
||||
|
||||
rightPadding: fileChooserButton.width +
|
||||
fileChooserButton.anchors.rightMargin +
|
||||
DroppableTextAreaStyle.fileChooserButton.margins
|
||||
wrapMode: TextArea.Wrap
|
||||
}
|
||||
anchors.fill: parent
|
||||
|
||||
// Necessary, else `placeHolderText` can get out of the component.
|
||||
clip: true
|
||||
}
|
||||
|
||||
// Handle click to select files.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
|
||||
import Common 1.0
|
||||
import Linphone 1.0 /* It contains `Presence`. */
|
||||
import Linphone 1.0
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
|
|
|||
|
|
@ -120,14 +120,14 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
|
||||
Borders {
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 70
|
||||
borderColor: '#C7C7C7'
|
||||
leftWidth: 1
|
||||
Layout.preferredHeight: 80
|
||||
color: '#E2E9EF'
|
||||
|
||||
DroppableTextArea {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 10
|
||||
placeholderText: qsTr('newMessagePlaceholder')
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue