~uriboni/webbrowser-app/tab-context-menu

« back to all changes in this revision

Viewing changes to src/app/webbrowser/UrlDelegate.qml

  • Committer: CI Train Bot
  • Author(s): Arthur Mello, Ugo Riboni, Olivier Tilloy
  • Date: 2015-08-12 19:53:13 UTC
  • mfrom: (1126.1.5 wide-views-newtab-history)
  • Revision ID: ci-train-bot@canonical.com-20150812195313-u5v7kzrj8hfiacsj
Wide screen versions of the history view and new tab view, per design specification.
This adds a build dependency on qml-module-qt-labs-settings (for unit tests). Fixes: #1351157, #1481647

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    property alias title: title.text
28
28
    property alias url: url.text
29
29
 
 
30
    property alias headerComponent: headerComponentLoader.sourceComponent
 
31
 
30
32
    divider.visible: false
31
33
 
32
34
    signal removed()
39
41
        }
40
42
        spacing: units.gu(1)
41
43
 
 
44
        Loader {
 
45
            id: headerComponentLoader
 
46
            sourceComponent: undefined
 
47
        }
 
48
 
42
49
        UbuntuShape {
43
50
            id: iconContainer
44
51
            width: units.gu(3)
51
58
        }
52
59
 
53
60
        Column {
54
 
            width: parent.width - iconContainer.width - parent.spacing
 
61
            width: urlDelegate.width - headerComponentLoader.width - iconContainer.width - parent.spacing
55
62
            height: parent.height
56
63
 
57
64
            Label {