Commit 6a9af0e0 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(DroppableTextArea): fix style and add `clip=true` on Flickable

parent 5e3e5484
...@@ -36,12 +36,20 @@ Item { ...@@ -36,12 +36,20 @@ Item {
TextArea.flickable: TextArea { TextArea.flickable: TextArea {
id: textArea id: textArea
background: Rectangle {
color: '#FFFFFF'
border.color: '#D0D8DE'
}
rightPadding: fileChooserButton.width + rightPadding: fileChooserButton.width +
fileChooserButton.anchors.rightMargin + fileChooserButton.anchors.rightMargin +
DroppableTextAreaStyle.fileChooserButton.margins DroppableTextAreaStyle.fileChooserButton.margins
wrapMode: TextArea.Wrap wrapMode: TextArea.Wrap
} }
anchors.fill: parent anchors.fill: parent
// Necessary, else `placeHolderText` can get out of the component.
clip: true
} }
// Handle click to select files. // Handle click to select files.
......
import QtQuick 2.7 import QtQuick 2.7
import Common 1.0 import Common 1.0
import Linphone 1.0 /* It contains `Presence`. */ import Linphone 1.0
// =================================================================== // ===================================================================
......
...@@ -120,14 +120,14 @@ ColumnLayout { ...@@ -120,14 +120,14 @@ ColumnLayout {
} }
} }
Borders { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 70 Layout.preferredHeight: 80
borderColor: '#C7C7C7' color: '#E2E9EF'
leftWidth: 1
DroppableTextArea { DroppableTextArea {
anchors.fill: parent anchors.fill: parent
anchors.margins: 10
placeholderText: qsTr('newMessagePlaceholder') placeholderText: qsTr('newMessagePlaceholder')
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment