@@ -41,7 +41,7 @@ PreviewWidget {
41 readonly property bool button: root.actions && root.actions.length == 2
41 readonly property bool button: root.actions && root.actions.length == 2
42 readonly property bool combo: root.actions && root.actions.length > 2
42 readonly property bool combo: root.actions && root.actions.length > 2
43 source: button ? "PreviewActionButton.qml" : (combo ? "PreviewActionCombo.qml" : "")
43 source: button ? "PreviewActionButton.qml" : (combo ? "PreviewActionCombo.qml" : "")
44− width: Math.min(root.maxButtonWidth, implicitWidth)
44+ width: Math.min(root.maxButtonWidth, implicitWidth + units.gu(2))
45 onLoaded: {
45 onLoaded: {
46 if (button) {
46 if (button) {
47 item.data = Qt.binding(function() { return root.actions[1]; });
47 item.data = Qt.binding(function() { return root.actions[1]; });
@@ -66,7 +66,7 @@ PreviewWidget {
66 data: visible ? root.actions[0] : null
66 data: visible ? root.actions[0] : null
67 visible: root.actions && root.actions.length > 0
67 visible: root.actions && root.actions.length > 0
68 onTriggeredAction: root.triggered(root.widgetId, actionData.id, actionData)
68 onTriggeredAction: root.triggered(root.widgetId, actionData.id, actionData)
69− width: Math.min(root.maxButtonWidth, implicitWidth)
69+ width: Math.min(root.maxButtonWidth, implicitWidth + units.gu(2))
70 color: root.scopeStyle ? root.scopeStyle.previewButtonColor : theme.palette.normal.positive
70 color: root.scopeStyle ? root.scopeStyle.previewButtonColor : theme.palette.normal.positive