~zsombi/ubuntu-ui-toolkit/dialog-size-fix

« back to all changes in this revision

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

  • Committer: Zsombor Egri
  • Date: 2014-10-01 10:21:28 UTC
  • Revision ID: zsombor.egri@canonical.com-20141001102128-vy6sy7z4m110eegq
title and text does nott occupy space in Dialog when empty

Show diffs side-by-side

added added

removed removed

Lines of Context:
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()