mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Added a new property to FlowView for controlling the spacing between items.
This commit is contained in:
parent
0318b87697
commit
d3528bf7fa
@ -12,10 +12,12 @@ Rectangle {
|
||||
property real backgroundBlurOpacity : 0.25; //0.35;
|
||||
property bool backgroundBlurVisible : true;
|
||||
|
||||
property real additionalBottomSpace;
|
||||
property real additionalBottomSpace : 0;
|
||||
|
||||
property real verticalPadding: 12
|
||||
|
||||
property real itemsSpacing: 17
|
||||
|
||||
Rectangle {
|
||||
id: background
|
||||
color: "#2A2A2A"
|
||||
@ -75,7 +77,7 @@ Rectangle {
|
||||
|
||||
model: comicsList
|
||||
|
||||
spacing: 17
|
||||
spacing: itemsSpacing
|
||||
anchors.leftMargin: Math.floor(verticalPadding * 1.1)
|
||||
|
||||
snapMode: ListView.SnapToItem
|
||||
|
Loading…
Reference in New Issue
Block a user