From 0aae00846675777f065950bc2c5a24727a2f213c Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Sat, 11 Jun 2011 00:22:49 +0200 Subject: [PATCH] QML UI: Fix title position in context menu --- data/ui/qml/Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ui/qml/Main.qml b/data/ui/qml/Main.qml index 4039c798..9a99d0af 100644 --- a/data/ui/qml/Main.qml +++ b/data/ui/qml/Main.qml @@ -328,7 +328,7 @@ Rectangle { Text { anchors.verticalCenter: parent.verticalCenter anchors.left: taskSwitcher.visible?taskSwitcher.right:taskSwitcher.left - anchors.leftMargin: Config.hasTaskSwitcher?0:Config.largeSpacing + anchors.leftMargin: (contextMenu.state == 'opened')?(Config.largeSpacing):(Config.hasTaskSwitcher?0:Config.largeSpacing) anchors.right: searchButton.left clip: true text: (contextMenu.state == 'opened')?('Context menu'):(episodeDetails.state == 'visible'?("Now playing - "+((currentEpisode!=undefined)?currentEpisode.qpositiontext:'No episode')):(main.state == 'episodes'?controller.episodeListTitle:"gPodder")) -- 2.11.4.GIT