mirror of
https://github.com/muesli/telephant
synced 2024-11-26 05:10:18 +00:00
Allow hiding of action button group in MessageView
This commit is contained in:
parent
14373fc1a3
commit
48eabdb5fd
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
property bool fadeMedia
|
property bool fadeMedia
|
||||||
|
property bool showActionButtons: true
|
||||||
|
|
||||||
property string name: model.name
|
property string name: model.name
|
||||||
property string messageid: model.messageid
|
property string messageid: model.messageid
|
||||||
|
@ -239,6 +240,7 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
visible: showActionButtons
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
Layout.topMargin: 4
|
Layout.topMargin: 4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue