Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1a7b12ad
Commit
1a7b12ad
authored
Mar 23, 2020
by
Gus Grubba
Browse files
Adjust minimum application window size
parent
8c9d7095
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainRootWindow.qml
View file @
1a7b12ad
...
@@ -25,8 +25,8 @@ import QGroundControl.FlightMap 1.0
...
@@ -25,8 +25,8 @@ import QGroundControl.FlightMap 1.0
/// All properties defined here are visible to all QML pages.
/// All properties defined here are visible to all QML pages.
ApplicationWindow
{
ApplicationWindow
{
id
:
mainWindow
id
:
mainWindow
minimumWidth
:
ScreenTools
.
isMobile
?
Screen
.
width
:
Math
.
min
(
215
*
Screen
.
pixelDensity
,
Screen
.
width
)
minimumWidth
:
ScreenTools
.
isMobile
?
Screen
.
width
:
Math
.
min
(
ScreenTools
.
defaultFontPixelWidth
*
100
,
Screen
.
width
)
minimumHeight
:
ScreenTools
.
isMobile
?
Screen
.
height
:
Math
.
min
(
120
*
Screen
.
pixelDensity
,
Screen
.
height
)
minimumHeight
:
ScreenTools
.
isMobile
?
Screen
.
height
:
Math
.
min
(
ScreenTools
.
defaultFontPixelWidth
*
50
,
Screen
.
height
)
visible
:
true
visible
:
true
Component.onCompleted
:
{
Component.onCompleted
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment