summaryrefslogtreecommitdiffstats
path: root/demos/declarative
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative')
-rw-r--r--demos/declarative/calculator/calculator.qml2
-rw-r--r--demos/declarative/contacts/Contact.qml5
-rw-r--r--demos/declarative/flickr/content/MediaLineEdit.qml2
3 files changed, 5 insertions, 4 deletions
diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml
index f766a30..56bdc4d 100644
--- a/demos/declarative/calculator/calculator.qml
+++ b/demos/declarative/calculator/calculator.qml
@@ -8,7 +8,7 @@ Rect {
Script { source: "calculator.js" }
VerticalPositioner {
- x: 2; spacing: 10; margin: 2
+ x: 2; spacing: 10;
Rect {
id: Container
diff --git a/demos/declarative/contacts/Contact.qml b/demos/declarative/contacts/Contact.qml
index c6ed906..d02157c 100644
--- a/demos/declarative/contacts/Contact.qml
+++ b/demos/declarative/contacts/Contact.qml
@@ -82,9 +82,10 @@ Item {
}
VerticalPositioner {
id: layout
- anchors.fill: parent
+ width: contents.width
+ height:contents.height
+ anchors.centerIn: parent
spacing: 5
- margin: 5
ContactField {
id: labelField
anchors.left: layout.left
diff --git a/demos/declarative/flickr/content/MediaLineEdit.qml b/demos/declarative/flickr/content/MediaLineEdit.qml
index e175b4e..1642d44 100644
--- a/demos/declarative/flickr/content/MediaLineEdit.qml
+++ b/demos/declarative/flickr/content/MediaLineEdit.qml
@@ -86,7 +86,7 @@ Item {
text: Container.label + "..."
}
- TextEdit {
+ TextInput {
id: Editor
font.bold: true
color: "white"