~nick-dedekind/ubuntu-ui-toolkit/actionItem-mnemonics

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/Themes/Ambiance/1.3/SheetForegroundStyle.qml

  • Committer: CI Train Bot
  • Author(s): Gerry Boland, Albert Astals Cid, Michał Sawicz
  • Date: 2016-05-02 13:28:56 UTC
  • mfrom: (1303.1.18 dynamic-grid-unit)
  • Revision ID: ci-train-bot@canonical.com-20160502132856-f79hi034eitdbvvx
Enable dynamic changing of grid units instigated by the shell Fixes: #1573532
Approved by: Michał Sawicz

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
            button.anchors.left = container.left;
82
82
            button.anchors.right = container.right;
83
83
            button.anchors.verticalCenter = container.verticalCenter;
84
 
            button.anchors.margins = units.gu(1);
 
84
            button.anchors.margins = Qt.binding(function() { return units.gu(1) });
85
85
        }
86
86
 
87
87
        Connections {