~ubuntu-weather-dev/ubuntu-weather-app/reboot

« back to all changes in this revision

Viewing changes to app/ui/LocationsPage.qml

  • Committer: Tarmac
  • Author(s): Andrew Hayzen
  • Date: 2015-11-26 03:07:11 UTC
  • mfrom: (153.1.13 weather-uc1.3)
  • Revision ID: tarmac-20151126030711-6mnc3xolq6g1ni81
* Update app to use the Ubuntu Components version 1.3. Fixes: https://bugs.launchpad.net/bugs/1508363.

Approved by Victor Thompson, Jenkins Bot, Bartosz Kosiorek, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
 
19
19
import QtQuick 2.4
20
 
import Ubuntu.Components 1.2
 
20
import Ubuntu.Components 1.3
21
21
import Ubuntu.Components.ListItems 0.1 as ListItem
22
22
import "../components"
23
23
import "../components/ListItemActions"
66
66
        anchors {
67
67
            fill: parent
68
68
            // TODO: Fix this offset
69
 
            topMargin: locationsPage.header ? -locationsPage.header.height : 0
 
69
            topMargin: -units.gu(6.125)  // FIXME: 6.125 is the header.height
70
70
        }
71
71
        model: ListModel {
72
72
            id: locationsModel