QML UI: Landscape fixes for media player (pull request 48)
commit52c72a680d5175a5c477111cc248b8526666905d
authorNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 25 Dec 2012 19:02:23 +0000 (25 14:02 -0500)
committerThomas Perl <m@thp.io>
Fri, 8 Feb 2013 10:49:59 +0000 (8 11:49 +0100)
tree4d07bca873263058d42b5a51039ac7a0d9814206
parentec929821d7aea0780cc4145021b0e53efc31a015
QML UI: Landscape fixes for media player (pull request 48)

When in landscape the play queue button would not be visible.

This change detects the orientation and changes the number of
columns on the grid, so the buttons are either arranged in the
horizontal or vertical.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
share/gpodder/ui/qml/MediaPlayer.qml
share/gpodder/ui/qml/util.js