~faenil/ubuntu-ui-toolkit/ContactsAdaptive_UIToolkit

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/1.3/OrientationHelper.qml

  • Committer: Andrea Bernabei
  • Date: 2015-07-10 12:31:38 UTC
  • mfrom: (1547.1.7 multiColumnView)
  • Revision ID: andrea.bernabei@canonical.com-20150710123138-txi5c9gpuo375qwj
merge multiColumnView branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
    property bool anchorToKeyboard: false
99
99
 
100
100
    x: parent ? (parent.width - width) / 2 : 0
101
 
    y: parent ? (parent.height - height) / 2 : 0
 
101
    y: parent ? (d.availableParentHeight - height) / 2 : 0
102
102
    width: parent ? (d.flipDimensions ? d.availableParentHeight : parent.width) : 0
103
103
    height: parent ? (d.flipDimensions ? parent.width : d.availableParentHeight) : 0
104
104