summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-10-17 12:11:45 +0200
committerNiels Weber <niels.weber@digia.com>2014-10-17 13:09:43 +0200
commit0572e873f11dfaa69db2bd2723a9058e99522859 (patch)
tree531394a1cbdcef96bc671afea411fb95744cb81b
parentd7c5ef1a7ea211635bb865aa63e59b6f6505d2ea (diff)
Increase space between conference selection buttons
Change-Id: I94f8944c2ba5a2e40bcf99c76f2d7e93c5f84def Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r--qml/components/ConferenceSwitcher.qml4
-rw-r--r--src/theme.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/qml/components/ConferenceSwitcher.qml b/qml/components/ConferenceSwitcher.qml
index f2f7292..7808820 100644
--- a/qml/components/ConferenceSwitcher.qml
+++ b/qml/components/ConferenceSwitcher.qml
@@ -57,10 +57,10 @@ Rectangle {
ListView {
interactive: false
anchors.top: subTitle.bottom
- anchors.topMargin: Theme.margins.twenty
+ anchors.topMargin: Theme.margins.forty
height: parent.height - subTitle.height
width: parent.width
- spacing: Theme.margins.ten
+ spacing: Theme.margins.forty
model: SortFilterModel {
id: sortModel
sortRole: "title"
diff --git a/src/theme.cpp b/src/theme.cpp
index ab7f327..b7a8e48 100644
--- a/src/theme.cpp
+++ b/src/theme.cpp
@@ -166,6 +166,7 @@ Theme::Theme(QObject *parent)
m_margins->insert(QLatin1String("fifteen"), QVariant(applyRatio(15)));
m_margins->insert(QLatin1String("twenty"), QVariant(applyRatio(20)));
m_margins->insert(QLatin1String("thirty"), QVariant(applyRatio(30)));
+ m_margins->insert(QLatin1String("forty"), QVariant(applyRatio(40)));
}
int Theme::applyFontRatio(const int value)