on xenial help sign in
Some adjustments
commit916527146aa14e3e74a46786ddc7bc4d494c88e2 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 11 Feb 2016, 16:11 (11 years ago) parentf37e137
1 file changed+1−11
plugins/Dash/CardSocialAttributes.qml+1−11
plugins/Dash/CardSocialAttributes.qml+1−11
@@ -44,7 +44,7 @@ Column {
4444 leftMargin: units.gu(1)
4545 rightMargin: units.gu(1)
4646 }
47− columns: 2 + repeater.count % 2
47+ columns: width > units.gu(12) ? 4 : 2
4848 rowSpacing: units.gu(2)
4949
5050 Repeater {
@@ -75,16 +75,6 @@ Column {
7575 onClicked: socialAttributes.clicked(modelData["id"]);
7676 onPressedChanged: if (pressed && icon.urlTemporaryIcon != "") icon.source = icon.urlTemporaryIcon
7777 }
78− Label {
79− id: label
80− anchors.verticalCenter: parent.verticalCenter
81− text: "label" in modelData && modelData["label"] || "";
82− elide: Text.ElideRight
83− maximumLineCount: 1
84− fontSize: "x-small"
85− font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale)
86− color: socialAttributes.color
87− }
8878 }
8979 }
9080 }