Commit 41377b71 authored by Andrea Scarpino's avatar Andrea Scarpino

Fix provider combobox width and element spacing

parent 365bd63a
......@@ -88,6 +88,7 @@ Page {
id: column
x: Theme.horizontalPageMargin
width: parent.width - Theme.horizontalPageMargin * 2
spacing: Theme.paddingMedium
PageHeader {
title: "Lyrics"
......
......@@ -26,12 +26,14 @@ import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
id: page
allowedOrientations: Orientation.All
Column {
x: Theme.horizontalPageMargin
width: parent.width - Theme.horizontalPageMargin * 2
spacing: Theme.paddingMedium
PageHeader {
title: qsTr("Settings")
......@@ -39,7 +41,7 @@ Page {
ComboBox {
id: provider
width: parent.width
width: page.width
label: qsTr("Provider")
menu: ContextMenu {
......@@ -59,8 +61,8 @@ Page {
}
Button {
width: parent.width
text: qsTr("Clear cache")
anchors.horizontalCenter: parent.horizontalCenter
onClicked: manager.clearCache();
}
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation>Neteja</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation>Configuració</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation>Impulsat per %1</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation>Artista</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation>Cançó</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation>Cerca</translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation>Configuració</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation>Proveïdor</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation>Vyprázdnit</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation>Nastavení</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation>Umělec</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation>Píseň</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation>Hledat</translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation>Nastavení</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation>Poskytovatel</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation>Tyhjennä</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation>Asetukset</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation>Powered by %1</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation>Artisti</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation>Kappale</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation>Etsi</translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation>Asetukset</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation>Toimittaja</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation>Effacer</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation>Powered by %1</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation>Artiste</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation>Morceau</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation>Recherche</translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation>Fournisseur</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation>Pulisci</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation>Impostazioni</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation>Artista</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation>Brano</translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation>Cerca</translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation>Impostazioni</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation>Servizio</translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
......@@ -4,37 +4,37 @@
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="64"/>
<location filename="../qml/pages/MainPage.qml" line="65"/>
<source>Clear</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="58"/>
<location filename="../qml/pages/MainPage.qml" line="59"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="159"/>
<location filename="../qml/pages/MainPage.qml" line="164"/>
<source>Powered by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="103"/>
<location filename="../qml/pages/MainPage.qml" line="108"/>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="75"/>
<location filename="../qml/pages/MainPage.qml" line="78"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="112"/>
<location filename="../qml/pages/MainPage.qml" line="117"/>
<source>Song</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/MainPage.qml" line="126"/>
<location filename="../qml/pages/MainPage.qml" line="131"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
......@@ -42,17 +42,17 @@
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="37"/>
<location filename="../qml/pages/Settings.qml" line="39"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="43"/>
<location filename="../qml/pages/Settings.qml" line="45"/>
<source>Provider</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="63"/>
<location filename="../qml/pages/Settings.qml" line="64"/>
<source>Clear cache</source>
<translation type="unfinished"></translation>
</message>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment