QML UI: Don't apply margin fix in landscape (bug 1915)
commitd557b9a3271a1ebff9ed0aa1fb4cda83624c56c5
authorThomas Perl <m@thp.io>
Sat, 28 Jun 2014 11:57:31 +0000 (28 13:57 +0200)
committerThomas Perl <m@thp.io>
Sat, 28 Jun 2014 11:57:31 +0000 (28 13:57 +0200)
tree0083b14ec178c5cc4f44363b69be27cd367b4644
parent91a042b1f614aa35490f9b998d251b43592d38b9
QML UI: Don't apply margin fix in landscape (bug 1915)

For some reason, we needed to apply a offset of 36 pixels, so that the
overlay sheet aligns with the window. However, this offset gives
problems in landscape (it also gives a visual glitch when the sheet is
closed, as it could be partially visible at the bottom of the window).
This fixes it by not applying the offset fix when the window is in
landscape mode or when the sheet is closed.

Thanks to Andi for reporting this issue.
share/gpodder/ui/qml/Main.qml