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
76077ac5
Commit
76077ac5
authored
Oct 12, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1970 from DonLakeFlyer/Tablet
Tablet usability fixes
parents
696643ab
e5a698a7
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
213 additions
and
205 deletions
+213
-205
PowerComponent.qml
src/AutoPilotPlugins/PX4/PowerComponent.qml
+207
-200
MissionEditor.qml
src/MissionEditor/MissionEditor.qml
+1
-1
QGCButton.qml
src/QmlControls/QGCButton.qml
+1
-1
QGCCheckBox.qml
src/QmlControls/QGCCheckBox.qml
+1
-1
QGCComboBox.qml
src/QmlControls/QGCComboBox.qml
+1
-1
QGCRadioButton.qml
src/QmlControls/QGCRadioButton.qml
+1
-1
QGCTextField.qml
src/QmlControls/QGCTextField.qml
+1
-0
No files found.
src/AutoPilotPlugins/PX4/PowerComponent.qml
View file @
76077ac5
This diff is collapsed.
Click to expand it.
src/MissionEditor/MissionEditor.qml
View file @
76077ac5
...
@@ -108,7 +108,7 @@ QGCView {
...
@@ -108,7 +108,7 @@ QGCView {
Rectangle
{
Rectangle
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.bottom
:
parent
.
bottom
anchors.bottom
:
parent
.
bottom
width
:
parent
.
width
/
3
width
:
parent
.
width
*
0.75
height
:
syncNeededText
.
height
+
(
ScreenTools
.
defaultFontPixelWidth
*
2
)
height
:
syncNeededText
.
height
+
(
ScreenTools
.
defaultFontPixelWidth
*
2
)
border.width
:
1
border.width
:
1
border.color
:
"
white
"
border.color
:
"
white
"
...
...
src/QmlControls/QGCButton.qml
View file @
76077ac5
...
@@ -64,7 +64,7 @@ Button {
...
@@ -64,7 +64,7 @@ Button {
background
:
Item
{
background
:
Item
{
property
bool
down
:
control
.
pressed
||
(
control
.
checkable
&&
control
.
checked
)
property
bool
down
:
control
.
pressed
||
(
control
.
checkable
&&
control
.
checked
)
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitHeight
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.75
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
Rectangle
{
Rectangle
{
anchors.fill
:
parent
anchors.fill
:
parent
...
...
src/QmlControls/QGCCheckBox.qml
View file @
76077ac5
...
@@ -11,7 +11,7 @@ CheckBox {
...
@@ -11,7 +11,7 @@ CheckBox {
style
:
CheckBoxStyle
{
style
:
CheckBoxStyle
{
label
:
Item
{
label
:
Item
{
implicitWidth
:
text
.
implicitWidth
+
2
implicitWidth
:
text
.
implicitWidth
+
2
implicitHeight
:
text
.
implicitHeight
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.75
:
text
.
implicitHeight
baselineOffset
:
text
.
baselineOffset
baselineOffset
:
text
.
baselineOffset
Rectangle
{
Rectangle
{
anchors.fill
:
text
anchors.fill
:
text
...
...
src/QmlControls/QGCComboBox.qml
View file @
76077ac5
...
@@ -18,7 +18,7 @@ ComboBox {
...
@@ -18,7 +18,7 @@ ComboBox {
background
:
Item
{
background
:
Item
{
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitHeight
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.75
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
Rectangle
{
Rectangle
{
anchors.fill
:
parent
anchors.fill
:
parent
...
...
src/QmlControls/QGCRadioButton.qml
View file @
76077ac5
...
@@ -11,7 +11,7 @@ RadioButton {
...
@@ -11,7 +11,7 @@ RadioButton {
style
:
RadioButtonStyle
{
style
:
RadioButtonStyle
{
label
:
Item
{
label
:
Item
{
implicitWidth
:
text
.
implicitWidth
+
2
implicitWidth
:
text
.
implicitWidth
+
2
implicitHeight
:
text
.
implicitHeight
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.75
:
text
.
implicitHeight
baselineOffset
:
text
.
y
+
text
.
baselineOffset
baselineOffset
:
text
.
y
+
text
.
baselineOffset
Rectangle
{
Rectangle
{
anchors.fill
:
text
anchors.fill
:
text
...
...
src/QmlControls/QGCTextField.qml
View file @
76077ac5
...
@@ -12,6 +12,7 @@ TextField {
...
@@ -12,6 +12,7 @@ TextField {
property
var
__qgcPal
:
QGCPalette
{
colorGroupEnabled
:
enabled
}
property
var
__qgcPal
:
QGCPalette
{
colorGroupEnabled
:
enabled
}
textColor
:
__qgcPal
.
textFieldText
textColor
:
__qgcPal
.
textFieldText
height
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.75
:
implicitHeight
Label
{
Label
{
id
:
unitsLabelWidthGenerator
id
:
unitsLabelWidthGenerator
...
...
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