Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Discover
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Discover
Commits
5ca7f2ff
Commit
5ca7f2ff
authored
Nov 07, 2017
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use positive and negative colors for the install button
parent
732a0ffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
discover/qml/InstallApplicationButton.qml
discover/qml/InstallApplicationButton.qml
+4
-1
No files found.
discover/qml/InstallApplicationButton.qml
View file @
5ca7f2ff
...
...
@@ -21,7 +21,10 @@ ConditionalLoader
property
QtObject
action
:
Kirigami.Action
{
text
:
root
.
text
iconName
:
application
.
isInstalled
?
"
uninstall
"
:
"
install
"
icon
{
name
:
application
.
isInstalled
?
"
uninstall
"
:
"
install
"
color
:
application
.
isInstalled
?
Kirigami
.
Theme
.
negativeTextColor
:
Kirigami
.
Theme
.
positiveTextColor
}
visible
:
!
listener
.
isActive
&&
!
applicationWindow
().
wideScreen
onTriggered
:
root
.
click
()
}
...
...
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