~chris.gagnon/ubuntu-ui-toolkit/fix-bug-1388896

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Popups/Dialog.qml

  • Committer: CI bot
  • Author(s): Zsombor Egri, Michael Sheldon, Zoltán Balogh, Christian Dywan, Tim Peeters
  • Date: 2014-10-07 12:09:27 UTC
  • mfrom: (1000.249.11 landing-0711)
  • Revision ID: ps-jenkins@lists.canonical.com-20141007120927-ucysonqxn60vu8gz
  [ Michael Sheldon ]
  * Removes the keyboard anchor animation as this is now implemented
    in the keyboard.

  [ Tim Peeters ]
  * PageStack push returns the pushed page. Fixes LP: #1361919
  * Add selection mode as a preset to the header configuration.
    Fixes LP: #1370146.

  [ Zsombor Egri ]
  * Fix Dialog foreground sizing. Fixes LP: #1337555, LP: #1337556.
  * Workaround for StateSaver to fall back to use qgetenv() when
    QStandardPaths fails to return XDG_RUNTIME_DIR path.
    Fixes LP: #1363112.

  [ Christian Dywan ]
  * Add unit tests for MathUtils API.
    Fixes LP: #1244685.
  * Text field hint should use the same font as the editor.
    Fixes LP: #1237400.
  * Read-only text fields mustn't have a clear button.
    Fixes LP: #1337257.
  * autopilot package should source-depend on QML plugin.
    Fixes LP: #1236085.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        property real itemSpacing: units.gu(2)
172
172
        property Item dismissArea: dialog.dismissArea
173
173
 
174
 
        height: Math.min(childrenRect.height, dialog.height)
 
174
        height: Math.min(contentsColumn.height + foreground.margins, dialog.height)
175
175
 
176
176
        Column {
177
177
            id: contentsColumn
193
193
                elide: Text.ElideRight
194
194
                fontSize: "large"
195
195
                color: UbuntuColors.darkGrey
 
196
                visible: (text !== "")
196
197
            }
197
198
 
198
199
            Label {
201
202
                fontSize: "medium"
202
203
                color: UbuntuColors.darkGrey
203
204
                wrapMode: Text.Wrap
 
205
                visible: (text !== "")
204
206
            }
205
207
 
206
208
            onChildrenChanged: updateChildrenWidths()