Commit 2cd805b3 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5667 from mavlink/increase_max_instrument_width

FlightDisplayViewWidgets: increase the maximum widget size from 200 to 400
parents 32c16455 e738f251
......@@ -42,8 +42,7 @@ Item {
if(ScreenTools.isMobile) {
return ScreenTools.isTinyScreen ? mainWindow.width * 0.2 : mainWindow.width * 0.15
}
var w = mainWindow.width * 0.15
return Math.min(w, 200)
return ScreenTools.defaultFontPixelWidth * 30
}
function _setInstrumentWidget() {
......
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