diff options
author | Owen Williams <owilliams@mixxx.org> | 2014-03-11 18:44:58 -0400 |
---|---|---|
committer | Owen Williams <owilliams@mixxx.org> | 2014-03-11 18:44:58 -0400 |
commit | 82399a242b6b215cd245bbce7c95923a4692280c (patch) | |
tree | 1d85293759d84b035c8d38f067ff36c68b6a780d /src/widget/wlabel.cpp | |
parent | f73e2c9b0c7b5694f173c4e9c2fb61ffec401982 (diff) |
Various fixes for skin styling.
Diffstat (limited to 'src/widget/wlabel.cpp')
-rw-r--r-- | src/widget/wlabel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widget/wlabel.cpp b/src/widget/wlabel.cpp index 8e789afa54..f0faec9d68 100644 --- a/src/widget/wlabel.cpp +++ b/src/widget/wlabel.cpp @@ -55,11 +55,14 @@ void WLabel::setup(QDomNode node, const SkinContext& context) { } // Alignment + setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); if (context.hasNode(node, "Alignment")) { if (context.selectString(node, "Alignment") == "right") { setAlignment(Qt::AlignRight | Qt::AlignVCenter); } else if (context.selectString(node, "Alignment") == "center") { setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); + } else if (context.selectString(node, "Alignment") == "left") { + setAlignment(Qt::AlignLeft | Qt::AlignVCenter); } } } |