make avatar smaller in timeline
This commit is contained in:
parent
fdb5bd689a
commit
e4c6f68c41
@ -54,6 +54,7 @@ Item {
|
||||
|
||||
ScrollBar.vertical: scrollbar
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 16
|
||||
anchors.rightMargin: scrollbar.interactive ? scrollbar.width : 0
|
||||
// reuseItems still has a few bugs, see https://bugreports.qt.io/browse/QTBUG-95105 https://bugreports.qt.io/browse/QTBUG-95107
|
||||
//onModelChanged: if (room) room.sendReset()
|
||||
@ -63,7 +64,7 @@ Item {
|
||||
displayMarginEnd: height / 4
|
||||
model: (filteredTimeline.filterByThread || filteredTimeline.filterByContent) ? filteredTimeline : room
|
||||
//pixelAligned: true
|
||||
spacing: 2
|
||||
spacing: 16
|
||||
verticalLayoutDirection: ListView.BottomToTop
|
||||
|
||||
property int lastScrollPos: 0
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
QPalette inactiveColors() const;
|
||||
Theme theme() const;
|
||||
|
||||
int avatarSize() const { return 40; }
|
||||
int avatarSize() const { return 32; }
|
||||
|
||||
int paddingSmall() const { return 4; }
|
||||
int paddingMedium() const { return 8; }
|
||||
|
Loading…
Reference in New Issue
Block a user