~phablet-team/ubuntu-printing-app/trunk

« back to all changes in this revision

Viewing changes to ubuntu-printing-app/components/PrintRow.qml

  • Committer: Bileto Bot
  • Author(s): Andrew Hayzen
  • Date: 2017-03-08 13:03:24 UTC
  • mfrom: (23.1.63 additional-fixes)
  • Revision ID: ci-train-bot@canonical.com-20170308130324-s668yxbda5n2ynpm
* Set max width of options
* Set NoDisplay=true to hide the app in unity
* Hide left/right buttons when they are disabled
* Change the default height of the preview to 40%
* Set a minimum height of 15GU for the preview
* Allow use of a separator to resize the preview height and workaround ScrollView limitations
* Move collate and reverse to the bottom
* Set the content-hub json as this to be a share of content-hub
* Add tests for new separate resize and minimum height

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2016 Canonical Ltd.
 
2
 * Copyright 2016, 2017 Canonical Ltd.
3
3
 *
4
4
 * This file is part of ubuntu-printing-app.
5
5
 *
45
45
    RowLayout {
46
46
        id: rowLayout
47
47
        anchors {
48
 
            fill: parent
 
48
            bottom: parent.bottom
 
49
            horizontalCenter: parent.horizontalCenter
 
50
            top: parent.top
49
51
        }
50
52
        spacing: units.gu(1)
 
53
        width: Math.min(units.gu(60), parent.width)
51
54
 
52
55
        Button {
53
56
            objectName: "cancel"