on xenial help sign in
Better handling of mascot + title but no subtitle
4c0dea1Albert Astals
plugins/Dash/CardCreator.js+2
@@ -302,6 +302,8 @@ function createCardComponent(parent, template, components) {
302 anchors.verticalCenter: parent.verticalCenter; \
302 anchors.verticalCenter: parent.verticalCenter; \
303 spacing: units.dp(2); \
303 spacing: units.dp(2); \
304 width: parent.width - x;';
304 width: parent.width - x;';
305+ } else if (hasMascot) {
306+ titleAnchors = 'anchors.verticalCenter: parent.verticalCenter;'
305 } else {
307 } else {
306 titleAnchors = anchors;
308 titleAnchors = anchors;
307 subtitleAnchors = 'anchors.left: titleLabel.left; \
309 subtitleAnchors = 'anchors.left: titleLabel.left; \