Remove event list scrollbar padding

This commit is contained in:
miruka 2020-06-22 13:10:48 -04:00
parent e756bd2909
commit f2f4643189
2 changed files with 4 additions and 6 deletions

View File

@ -8,7 +8,7 @@ import "../../../Base"
HColumnLayout {
id: eventDelegate
width: eventList.width
width: eventList.width - eventList.leftMargin - eventList.rightMargin
ListView.onRemove: eventList.uncheck(model.id)

View File

@ -182,13 +182,11 @@ Rectangle {
HListView {
id: eventList
anchors.fill: parent
clip: true
keyNavigationWraps: false
anchors.fill: parent
anchors.leftMargin: theme.spacing
anchors.rightMargin: theme.spacing
leftMargin: theme.spacing
rightMargin: theme.spacing
topMargin: theme.spacing
bottomMargin: theme.spacing
verticalLayoutDirection: ListView.BottomToTop