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
982b2e50
Commit
982b2e50
authored
Jun 09, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up style sheet
parent
d4e36442
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
style-indoor.css
files/styles/style-indoor.css
+2
-2
QGCToolBar.cc
src/ui/QGCToolBar.cc
+1
-1
No files found.
files/styles/style-indoor.css
View file @
982b2e50
...
...
@@ -178,7 +178,7 @@ QDoubleSpinBox::down-button {
}
QPushButton
{
min-height
:
20
px
;
min-height
:
16
px
;
max-height
:
20px
;
border
:
1px
solid
#465158
;
margin
:
1px
;
...
...
@@ -202,7 +202,7 @@ QPushButton:pressed {
QToolButton
{
font-weight
:
bold
;
min-height
:
20
px
;
min-height
:
16
px
;
/*min-width: 24px;*/
max-height
:
20px
;
border
:
1px
solid
#4A4A4F
;
...
...
src/ui/QGCToolBar.cc
View file @
982b2e50
...
...
@@ -237,7 +237,7 @@ void QGCToolBar::setPerspectiveChangeActions(const QList<QAction*> &actions)
advancedButton
->
setText
(
tr
(
"Pro"
));
advancedButton
->
setToolTip
(
tr
(
"Options for advanced users"
));
advancedButton
->
setCheckable
(
true
);
advancedButton
->
setStyleSheet
(
"QPushButton { min-width: 60px; font-weight: bold; text-align: left; color: #222222; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A2A3A4, stop: 1 #B6B7B8); margin-left: 0px; margin-right: 13px; padding-left: 4px; padding-right: 8px; border-radius: 0px; border : 0px solid blue; border-bottom-right-radius: 6px; border-top-right-radius: 6px; border-right: 1px solid #484848; border-top: 1px solid #484848; border-bottom: 1px solid #484848; } QPushButton:checked { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop: 1 #787878); color: #DDDDDD; }"
);
advancedButton
->
setStyleSheet
(
"QPushButton { min-
height: 20px; max-height: 20px; min-
width: 60px; font-weight: bold; text-align: left; color: #222222; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A2A3A4, stop: 1 #B6B7B8); margin-left: 0px; margin-right: 13px; padding-left: 4px; padding-right: 8px; border-radius: 0px; border : 0px solid blue; border-bottom-right-radius: 6px; border-top-right-radius: 6px; border-right: 1px solid #484848; border-top: 1px solid #484848; border-bottom: 1px solid #484848; } QPushButton:checked { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop: 1 #787878); color: #DDDDDD; }"
);
addWidget
(
advancedButton
);
group
->
addButton
(
advancedButton
);
}
else
{
...
...
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