Minor browser improvements

This commit is contained in:
obscuren
2015-01-19 11:23:17 +01:00
parent bcb1166e52
commit f34838688e
3 changed files with 30 additions and 6 deletions

View File

@ -446,6 +446,14 @@ ApplicationWindow {
anchors.fill: parent
onClicked: {
mainSplit.setView(view, menuItem)
console.log(view);
if (view.objectName === "browserView") {
urlPane.visible = false;
mainView.anchors.top = rootView.top
} else {
urlPane.visible = true;
mainView.anchors.top = divider.bottom
}
}
}
@ -606,6 +614,7 @@ ApplicationWindow {
* Main view
********************/
Rectangle {
id: rootView
anchors.right: parent.right
anchors.left: menu.right
anchors.bottom: parent.bottom