~boiko/dialer-app/fix_dialpad_entry_field

« back to all changes in this revision

Viewing changes to src/qml/DialerPage/DialerPage.qml

  • Committer: Tarmac
  • Author(s): Tiago Salem Herrmann
  • Date: 2013-08-28 02:20:39 UTC
  • mfrom: (30.1.1 dialer-app-apply-visuals)
  • Revision ID: tarmac-20130828022039-ahu6kkun4hedyf1s
update visual design.

Approved by Gustavo Pichorim Boiko, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import QtQuick 2.0
20
20
import Ubuntu.Components 0.1
21
21
import Ubuntu.Telephony 0.1
 
22
import Ubuntu.Components.ListItems 0.1 as ListItems
22
23
 
23
24
Page {
24
25
    title: i18n.tr("Call")
44
45
        KeypadEntry {
45
46
            id: keypadEntry
46
47
 
 
48
            // TODO: remove anchors.top once the new tabs are implemented
 
49
            anchors.top: keypadContainer.top
47
50
            anchors.bottom: keypad.top
48
51
            anchors.left: parent.left
49
52
            anchors.right: parent.right
78
81
            anchors.left: parent.left
79
82
            anchors.right: parent.right
80
83
            anchors.bottom: parent.bottom
81
 
            height: units.gu(12)
 
84
            height: units.gu(10)
82
85
 
83
 
            BorderImage {
 
86
            ListItems.ThinDivider {
84
87
                id: divider3
85
88
 
86
89
                anchors.left: parent.left
87
90
                anchors.right: parent.right
88
91
                anchors.top: parent.top
89
 
                source: "../assets/horizontal_divider.sci"
90
92
            }
91
93
 
92
94
            CallButton {
93
95
                id: callButton
94
96
                objectName: "callButton"
95
 
                anchors.top: divider3.bottom
 
97
                anchors.top: footer.top
96
98
                anchors.topMargin: units.gu(2)
97
99
                anchors.horizontalCenter: parent.horizontalCenter
98
100
                onClicked: {
107
109
                objectName: "eraseButton"
108
110
                anchors.left: callButton.right
109
111
                anchors.verticalCenter: callButton.verticalCenter
110
 
                anchors.leftMargin: units.gu(1)
 
112
                anchors.leftMargin: units.gu(2)
111
113
                width: units.gu(7)
112
114
                height: units.gu(7)
113
115
                icon: "../assets/erase.png"