on xenial help sign in
Make sure the subtitle is hAligned as the title
commit44c7e7b011fcdbf8258d264e898f32d9eebd3edf authorAlbert Astals <albert.astals@canonical.com> dateWed 30 Apr 2014, 17:17 (12 years ago) parent8c028a2
1 file changed+3−2
plugins/Dash/CardCreator.js+3−2
plugins/Dash/CardCreator.js+3−2
@@ -304,8 +304,9 @@ function createCardComponent(parent, template, components) {
304304 width: parent.width - x;';
305305 } else {
306306 titleAnchors = anchors;
307− subtitleAnchors = 'anchors.left: parent.left; \
308− anchors.right: parent.right; \
307+ subtitleAnchors = 'anchors.left: titleLabel.left; \
308+ anchors.leftMargin: titleLabel.leftMargin; \
309+ anchors.right: titleLabel.right; \
309310 anchors.top: titleLabel.bottom; \
310311 anchors.topMargin: units.dp(2);';
311312 }