Commit 17770480 authored by Jacob Walser's avatar Jacob Walser

Don't allow resizing PiP for small screens

parent 693adfc6
...@@ -37,7 +37,7 @@ Item { ...@@ -37,7 +37,7 @@ Item {
QGCButton { QGCButton {
id: growButton id: growButton
visible: !isHidden visible: !isHidden && !ScreenTools.isShortScreen && !ScreenTools.isTinyScreen
anchors.left: parent.left anchors.left: parent.left
anchors.bottom: shrinkButton.top anchors.bottom: shrinkButton.top
height: 20 height: 20
...@@ -50,7 +50,7 @@ Item { ...@@ -50,7 +50,7 @@ Item {
QGCButton { QGCButton {
id: shrinkButton id: shrinkButton
visible: !isHidden visible: !isHidden && !ScreenTools.isShortScreen && !ScreenTools.isTinyScreen
anchors.left: parent.left anchors.left: parent.left
anchors.bottom: closePIP.top anchors.bottom: closePIP.top
height: 20 height: 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment