id: dialog
y: parent.height - height
- height: contentArea.item.childrenRect.height + contentArea.anchors.topMargin + contentArea.anchors.bottomMargin
+ height: contentArea.height
color: palette.window
anchors.left: parent.left
anchors.right: parent.right
Loader {
id: contentArea
- anchors { left: parent.left; right: parent.right; top: parent.top.bottom; bottom: parent.bottom; margins: 10 }
+ anchors { left: parent.left; right: parent.right; bottom: parent.bottom }
}
}
}
}
contentComponent: Component {
- id: loginComponent
-
Item {
+ height: 300
Flickable {
- width: parent.width
- anchors { left: parent.left; right: parent.right; bottom: parent.bottom }
- height: 300
-
+ anchors.fill: parent
contentWidth: Math.max(width, webView.width)
contentHeight: Math.max(height, webView.height)
boundsBehavior: Flickable.StopAtBounds
WebView {
id: webView
focus: true
- preferredWidth: parent.width
- preferredHeight: parent.height
+ preferredWidth: parent.parent.width
+ preferredHeight: parent.parent.height
url: facebookAuthenticator.url
onUrlChanged: {
-// console.log("URL CHANGED: ", url)
facebookAuthenticator.urlChanged(url)
}
}