on xenial help sign in
Use alias instead of separate property
commit955006d2904900e036543191c189032c25a0a1c9 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 15 Aug 2014, 10:40 (12 years ago) parent43f2b8a
1 file changed+3−3
qml/Dash/Previews/PreviewActionCombo.qml+3−3
qml/Dash/Previews/PreviewActionCombo.qml+3−3
@@ -25,7 +25,7 @@ Item {
2525 signal triggeredAction(var actionData)
2626
2727 property alias model: actionRepeater.model
28− property color strokeColor: Theme.palette.normal.textBase
28+ property alias strokeColor: moreButton.strokeColor
2929
3030 Button {
3131 id: moreButton
@@ -33,7 +33,7 @@ Item {
3333
3434 objectName: "moreLessButton"
3535 text: !expanded ? i18n.tr("More...") : i18n.tr("Less...")
36− strokeColor: root.strokeColor
36+ strokeColor: Theme.palette.normal.baseText
3737 onClicked: expanded = !expanded
3838 width: parent.width
3939 }
@@ -61,7 +61,7 @@ Item {
6161 data: modelData
6262 width: implicitWidth < parent.width ? parent.width : implicitWidth
6363 onClicked: root.triggeredAction(modelData)
64− strokeColor: root.strokeColor
64+ strokeColor: moreButton.strokeColor
6565 }
6666 }
6767 }