~zsombi/ubuntu-ui-toolkit/03-styleditem-styleset

« back to all changes in this revision

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

  • Committer: Zsombor Egri
  • Date: 2015-03-11 15:10:17 UTC
  • mfrom: (1434.1.15 02-styleset)
  • Revision ID: zsombor.egri@canonical.com-20150311151017-55iekp5lvd9a7mcj
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 */
16
16
 
17
17
import QtQuick 2.0
18
 
import Ubuntu.Components 1.1
 
18
import Ubuntu.Components 1.2
19
19
 
20
20
MainView {
21
21
    width: units.gu(48)
24
24
 
25
25
    Page {
26
26
        title: "Textfield"
 
27
        head.backAction: Action {
 
28
            iconName: "back"
 
29
            text: i18n.tr("Back")
 
30
            onTriggered: visible = false
 
31
        }
27
32
 
28
33
        Column {
29
34
            TextField {
30
35
                objectName: "textfield"
31
36
                placeholderText: "Type here"
32
 
                width: units.gu(15)
 
37
                width: units.gu(35)
33
38
            }
34
39
        }
35
40
    }