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 { HColumnLayout {
id: eventDelegate id: eventDelegate
width: eventList.width width: eventList.width - eventList.leftMargin - eventList.rightMargin
ListView.onRemove: eventList.uncheck(model.id) ListView.onRemove: eventList.uncheck(model.id)

View File

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