fix warnings in dialogs

This commit is contained in:
Sebastian Kügler 2011-11-30 01:49:19 +01:00
parent 13a3d33681
commit ee81650232
2 changed files with 3 additions and 7 deletions

View File

@ -107,7 +107,7 @@ Dialog {
LayoutMirroring.enabled: privateCloseIcon ? false : undefined LayoutMirroring.enabled: privateCloseIcon ? false : undefined
LayoutMirroring.childrenInherit: true LayoutMirroring.childrenInherit: true
Item { Column {
id: titleLayoutHelper // needed to make the text mirror correctly id: titleLayoutHelper // needed to make the text mirror correctly
anchors { anchors {
@ -123,11 +123,7 @@ Dialog {
Label { Label {
id: titleAreaText id: titleAreaText
LayoutMirroring.enabled: root.LayoutMirroring.enabled LayoutMirroring.enabled: root.LayoutMirroring.enabled
anchors.fill: parent
elide: Text.ElideRight elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter

View File

@ -79,7 +79,7 @@ CommonDialog {
content: Item { content: Item {
id: contentItem id: contentItem
property alias filterText: filterField.filterText
implicitWidth: theme.defaultFont.mSize.width * 40 implicitWidth: theme.defaultFont.mSize.width * 40
height: theme.defaultFont.mSize.height * 12 height: theme.defaultFont.mSize.height * 12
@ -132,7 +132,7 @@ CommonDialog {
flickableItem: listView flickableItem: listView
visible: listView.contentHeight > contentItem.height visible: listView.contentHeight > contentItem.height
//platformInverted: root.platformInverted //platformInverted: root.platformInverted
anchors { top: clipItem.top; right: clipItem.right } anchors { top: contentItem.top; right: contentItem.right }
} }
} }