Extra space after last item on list (UI fix)
This commit is contained in:
parent
f8d6638b3d
commit
a7a1ef48c6
4 changed files with 5 additions and 11 deletions
|
|
@ -78,10 +78,7 @@ ListItem {
|
|||
|
||||
enabled: !last && !daterow
|
||||
|
||||
contentHeight: last ?
|
||||
app.orientation === Orientation.Portrait ? app.panelHeightPortrait : app.panelHeightLandscape :
|
||||
daterow ? dateRowbox.height :
|
||||
box.height + expander.height
|
||||
contentHeight: last ? app.stdHeight : daterow ? dateRowbox.height : box.height + expander.height
|
||||
|
||||
onMenuOpenChanged: { if(menuOpen) app.hideBar() }
|
||||
|
||||
|
|
@ -413,7 +410,7 @@ ListItem {
|
|||
: utils.getHumanFriendlyTimeString(date)
|
||||
}
|
||||
|
||||
/*Item {
|
||||
/*Item {
|
||||
anchors.left: parent.left; anchors.right: parent.right
|
||||
height: evaluationButtons.height
|
||||
|
||||
|
|
|
|||
|
|
@ -76,9 +76,7 @@ Page {
|
|||
property bool defaultIcon: model.icon === "http://s.theoldreader.com/icons/user_icon.png"
|
||||
|
||||
enabled: !last
|
||||
contentHeight: last ?
|
||||
app.orientation===Orientation.Portrait ? app.panelHeightPortrait : app.panelHeightLandscape :
|
||||
Math.max(item.height, image.height) + 2 * Theme.paddingMedium
|
||||
contentHeight: last ? app.stdHeight : Math.max(item.height, image.height) + 2 * Theme.paddingMedium
|
||||
|
||||
Rectangle {
|
||||
anchors.top: parent.top; anchors.right: parent.right
|
||||
|
|
|
|||
|
|
@ -85,9 +85,7 @@ Page {
|
|||
enabled: !last
|
||||
|
||||
anchors.top: parent.top
|
||||
contentHeight: last ?
|
||||
app.orientation==Orientation.Portrait ? app.panelHeightPortrait : app.panelHeightLandscape :
|
||||
Math.max(item.height, image.height) + 2 * Theme.paddingMedium;
|
||||
contentHeight: last ? app.stdHeight : Math.max(item.height, image.height) + 2 * Theme.paddingMedium;
|
||||
|
||||
Rectangle {
|
||||
anchors.top: parent.top; anchors.right: parent.right
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ ApplicationWindow {
|
|||
readonly property bool isOldReader: settings.signinType >= 10 && settings.signinType < 20
|
||||
readonly property bool isFeedly: settings.signinType >= 20 && settings.signinType < 30
|
||||
readonly property variant _cache: cache
|
||||
readonly property int stdHeight: orientation==Orientation.Portrait ? Theme.itemSizeMedium : 0.8 * Theme.itemSizeMedium
|
||||
|
||||
cover: CoverPage {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue