mirror of
https://github.com/muesli/telephant
synced 2025-02-16 19:48:24 +00:00
Make sure Pane is completely visible including its shadow. Made ScrollBar background transparent
This commit is contained in:
parent
7fd015ed9a
commit
87382ec1f8
2 changed files with 8 additions and 3 deletions
|
@ -4,12 +4,14 @@ import QtQuick.Controls.Material 2.1
|
|||
import QtQuick.Layouts 1.3
|
||||
import QtGraphicalEffects 1.0
|
||||
|
||||
RowLayout {
|
||||
width: parent.width - messagePane.Material.elevation * 2
|
||||
ColumnLayout {
|
||||
x: messagePane.Material.elevation
|
||||
width: parent.width - messagePane.Material.elevation * 2 - 12
|
||||
Pane {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
id: messagePane
|
||||
Material.elevation: 6
|
||||
anchors.fill: parent
|
||||
Layout.fillWidth: true
|
||||
|
||||
MessageView {
|
||||
id: messageView
|
||||
|
|
|
@ -8,6 +8,9 @@ ListView {
|
|||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
width: 8
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
}
|
||||
}
|
||||
|
||||
delegate: messagesDelegate
|
||||
|
|
Loading…
Add table
Reference in a new issue