Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
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
Administrator
linphone-desktop
Commits
a7423b4b
Commit
a7423b4b
authored
Sep 27, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ForceScrollBar): supports hovered color
parent
d5515f10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
ForceScrollBar.qml
tests/ui/modules/Linphone/ForceScrollBar.qml
+6
-2
DialogStyle.qml
tests/ui/modules/Linphone/Styles/DialogStyle.qml
+1
-0
ForceScrollBarStyle.qml
tests/ui/modules/Linphone/Styles/ForceScrollBarStyle.qml
+6
-3
No files found.
tests/ui/modules/Linphone/ForceScrollBar.qml
View file @
a7423b4b
...
...
@@ -9,10 +9,14 @@ ScrollBar {
background
:
ForceScrollBarStyle
.
background
contentItem
:
Rectangle
{
color
:
pressed
?
ForceScrollBarStyle
.
pressedColor
:
ForceScrollBarStyle
.
color
?
ForceScrollBarStyle
.
color
.
pressed
:
(
hovered
?
ForceScrollBarStyle
.
color
.
hovered
:
ForceScrollBarStyle
.
color
.
normal
)
implicitHeight
:
ForceScrollBarStyle
.
contentItem
.
implicitHeight
implicitWidth
:
ForceScrollBarStyle
.
contentItem
.
implicitWidth
radius
:
ForceScrollBarStyle
.
contentItem
.
radius
}
hoverEnabled
:
true
}
tests/ui/modules/Linphone/Styles/DialogStyle.qml
View file @
a7423b4b
...
...
@@ -21,6 +21,7 @@ QtObject {
property
QtObject
description
:
QtObject
{
property
int
fontSize
:
12
property
int
verticalMargin
:
25
property
string
color
:
Constants
.
colors
.
l
}
}
tests/ui/modules/Linphone/Styles/ForceScrollBarStyle.qml
View file @
a7423b4b
...
...
@@ -4,9 +4,6 @@ import QtQuick 2.7
import
Linphone
1.0
QtObject
{
property
string
color
:
Constants
.
colors
.
c
property
string
pressedColor
:
Constants
.
colors
.
b
property
Rectangle
background
:
Rectangle
{
color
:
Constants
.
colors
.
a
}
...
...
@@ -16,4 +13,10 @@ QtObject {
implicitWidth
:
8
radius
:
10
}
property
QtObject
color
:
QtObject
{
property
string
hovered
:
Constants
.
colors
.
h
property
string
normal
:
Constants
.
colors
.
c
property
string
pressed
:
Constants
.
colors
.
b
}
}
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