summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/webengine/quicknanobrowser/BrowserWindow.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserWindow.qml b/examples/webengine/quicknanobrowser/BrowserWindow.qml
index 7b8767b8d..8d62482da 100644
--- a/examples/webengine/quicknanobrowser/BrowserWindow.qml
+++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml
@@ -367,7 +367,10 @@ ApplicationWindow {
return tab;
}
- anchors.fill: parent
+ anchors.top: parent.top
+ anchors.bottom: devToolsView.top
+ anchors.left: parent.left
+ anchors.right: parent.right
Component.onCompleted: createEmptyTab(defaultProfile)
Component {
@@ -500,7 +503,7 @@ ApplicationWindow {
WebEngineView {
id: devToolsView
visible: devToolsEnabled.checked
- height: 400
+ height: visible ? 400 : 0
inspectedView: visible && tabs.currentIndex < tabs.count ? tabs.getTab(tabs.currentIndex).item : null
anchors.left: parent.left
anchors.right: parent.right