Remove superfluous HTileDelegate, use HTile
This commit is contained in:
parent
ad7bce657c
commit
e147b87d1b
|
@ -1,24 +0,0 @@
|
|||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import ".."
|
||||
|
||||
HTile {
|
||||
id: tile
|
||||
topPadding: padded ? spacing / (compact ? 4 : 2) : 0
|
||||
bottomPadding: topPadding
|
||||
|
||||
// onLeftClicked: {
|
||||
// view.highlightRangeMode = ListView.NoHighlightRange
|
||||
// view.highlightMoveDuration = 0
|
||||
// activated()
|
||||
// view.highlightRangeMode = ListView.ApplyRange
|
||||
// view.highlightMoveDuration = theme.animationDuration
|
||||
// }
|
||||
|
||||
|
||||
signal activated()
|
||||
|
||||
property HListView view: ListView.view
|
||||
}
|
|
@ -7,7 +7,7 @@ import ".."
|
|||
import "../Base"
|
||||
import "../Base/HTile"
|
||||
|
||||
HTileDelegate {
|
||||
HTile {
|
||||
id: room
|
||||
backgroundColor: theme.mainPane.listView.room.background
|
||||
leftPadding: theme.spacing * 2
|
||||
|
|
|
@ -6,7 +6,7 @@ import "../../../Base"
|
|||
import "../../../Base/HTile"
|
||||
import "../../../Popups"
|
||||
|
||||
HTileDelegate {
|
||||
HTile {
|
||||
id: member
|
||||
backgroundColor: theme.chat.roomPane.listView.member.background
|
||||
contentOpacity:
|
||||
|
|
Loading…
Reference in New Issue
Block a user