Commit 51e20d58 authored by dogmaphobic's avatar dogmaphobic

Reducing PIP size on Android a bit.

It was kind of big...
parent 0d8664c4
......@@ -75,6 +75,8 @@ Item {
property var _flightVideo: null
property var _savedZoomLevel: 0
property real _pipSize: ScreenTools.isAndroid ? ScreenTools.defaultFontPixelSize * (8) : ScreenTools.defaultFontPixelSize * (9)
FlightDisplayViewController { id: _controller }
MissionController {
......@@ -98,6 +100,7 @@ Item {
Component.onCompleted: {
reloadContents();
widgetsLoader.source = "FlightDisplayViewWidgets.qml"
console.log("PIP: " + _pipSize)
}
//-- Main Window
......@@ -126,8 +129,8 @@ Item {
anchors.margins: ScreenTools.defaultFontPixelHeight
anchors.left: parent.left
anchors.bottom: parent.bottom
height: ScreenTools.defaultFontPixelSize * (9)
width: ScreenTools.defaultFontPixelSize * (9) * (16/9)
height: _pipSize
width: _pipSize * (16/9)
color: "#000010"
border.width: 4
radius: 4
......
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