~ubuntu-sdk-team/ubuntu-ui-toolkit/textHandlerCleanUpRTM

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/tests/components/test_textinput.header.qml

  • Committer: Christian Dywan
  • Date: 2015-02-19 17:20:54 UTC
  • Revision ID: christian.dywan@canonical.com-20150219172054-2sl737v2d77znhs3
Take offset of input to main into account

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
            anchors {
38
38
                fill: parent
39
39
                leftMargin: units.gu(1)
40
 
                topMargin: units.gu(1)
41
 
                bottomMargin: units.gu(1)
42
 
                rightMargin: root.width > units.gu(60) ? root.width - units.gu(40) : units.gu(1)
 
40
                topMargin: units.gu(0.5)
 
41
                bottomMargin: units.gu(0.5)
 
42
                rightMargin: units.gu(1)
43
43
            }
44
44
 
45
45
            secondaryItem: AbstractButton {