Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
dc2f8b10
Unverified
Commit
dc2f8b10
authored
Mar 23, 2020
by
Gus Grubba
Committed by
GitHub
Mar 23, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8590 from mavlink/pr-min-size
Adjust minimum application window size
parents
2bdc42b6
1a7b12ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MainRootWindow.qml
src/ui/MainRootWindow.qml
+2
-2
No files found.
src/ui/MainRootWindow.qml
View file @
dc2f8b10
...
@@ -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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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