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
be5414a3
Commit
be5414a3
authored
May 07, 2017
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indicator
parent
bff00f32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
QGCRadioButton.qml
src/QmlControls/QGCRadioButton.qml
+8
-8
No files found.
src/QmlControls/QGCRadioButton.qml
View file @
be5414a3
...
@@ -6,11 +6,10 @@ import QGroundControl.Palette 1.0
...
@@ -6,11 +6,10 @@ import QGroundControl.Palette 1.0
import
QGroundControl
.
ScreenTools
1.0
import
QGroundControl
.
ScreenTools
1.0
RadioButton
{
RadioButton
{
property
var
color
:
qgcPal
.
text
///< Text color
property
var
color
:
qgcPal
.
text
///< Text color
property
int
textStyle
:
Text
.
Normal
property
int
textStyle
:
Text
.
Normal
property
color
textStyleColor
:
qgcPal
.
text
property
color
textStyleColor
:
qgcPal
.
text
property
var
qgcPal
:
QGCPalette
{
colorGroupEnabled
:
enabled
}
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
enabled
}
style
:
RadioButtonStyle
{
style
:
RadioButtonStyle
{
label
:
Item
{
label
:
Item
{
...
@@ -47,7 +46,8 @@ RadioButton {
...
@@ -47,7 +46,8 @@ RadioButton {
indicator
:
Rectangle
{
indicator
:
Rectangle
{
width
:
ScreenTools
.
radioButtonIndicatorSize
width
:
ScreenTools
.
radioButtonIndicatorSize
height
:
width
height
:
width
border.color
:
qgcPal
.
text
color
:
"
white
"
border.color
:
control
.
qgcPal
.
text
antialiasing
:
true
antialiasing
:
true
radius
:
height
/
2
radius
:
height
/
2
...
@@ -56,8 +56,8 @@ RadioButton {
...
@@ -56,8 +56,8 @@ RadioButton {
width
:
Math
.
round
(
parent
.
width
*
0.5
)
width
:
Math
.
round
(
parent
.
width
*
0.5
)
height
:
width
height
:
width
antialiasing
:
true
antialiasing
:
true
radius
:
height
/
2
radius
:
height
/
2
color
:
qgcPal
.
text
color
:
"
black
"
opacity
:
control
.
checked
?
(
control
.
enabled
?
1
:
0.5
)
:
0
opacity
:
control
.
checked
?
(
control
.
enabled
?
1
:
0.5
)
:
0
}
}
}
}
...
...
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