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
f0edd36f
Commit
f0edd36f
authored
Jun 12, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Linphone/Notifications/NotificationNewVersionAvailable): use a correct style
parent
de6f486a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
24 deletions
+15
-24
NotificationNewVersionAvailable.qml
...inphone/Notifications/NotificationNewVersionAvailable.qml
+14
-21
NotificationNewVersionAvailableStyle.qml
...es/Notifications/NotificationNewVersionAvailableStyle.qml
+1
-3
No files found.
linphone-desktop/ui/modules/Linphone/Notifications/NotificationNewVersionAvailable.qml
View file @
f0edd36f
...
...
@@ -37,31 +37,24 @@ Notification {
rightMargin
:
NotificationNewVersionAvailableStyle
.
rightMargin
}
sourceComponent
:
RowLayou
t
{
sourceComponent
:
Tex
t
{
anchors.fill
:
parent
spacing
:
NotificationNewVersionAvailableStyle
.
spacing
Text
{
Layout.fillWidth
:
true
Layout.fillHeight
:
true
color
:
NotificationNewVersionAvailableStyle
.
message
.
color
font.pointSize
:
NotificationNewVersionAvailableStyle
.
message
.
pointSize
text
:
notificationData
.
message
verticalAlignment
:
Text
.
AlignVCenter
wrapMode
:
Text
.
Wrap
topPadding
:
NotificationNewVersionAvailableStyle
.
message
.
topPadding
color
:
NotificationNewVersionAvailableStyle
.
message
.
color
elide
:
Text
.
ElideRight
wrapMode
:
Text
.
Wrap
font.pointSize
:
NotificationNewVersionAvailableStyle
.
message
.
pointSize
text
:
notificationData
.
message
}
}
MouseArea
{
anchors.fill
:
parent
cursorShape
:
containsMouse
?
Qt
.
PointingHandCursor
:
Qt
.
ArrowCursor
hoverEnabled
:
true
MouseArea
{
anchors.fill
:
parent
cursorShape
:
containsMouse
?
Qt
.
PointingHandCursor
:
Qt
.
ArrowCursor
hoverEnabled
:
true
onClicked
:
notification
.
_close
(
function
()
{
Qt
.
openUrlExternally
(
notificationData
.
url
)
})
onClicked
:
notification
.
_close
(
function
()
{
Qt
.
openUrlExternally
(
notificationData
.
url
)
})
}
}
}
}
...
...
linphone-desktop/ui/modules/Linphone/Styles/Notifications/NotificationNewVersionAvailableStyle.qml
View file @
f0edd36f
...
...
@@ -10,14 +10,12 @@ QtObject {
property
color
color
:
Colors
.
k
property
int
height
:
55
property
int
iconSize
:
40
property
int
leftMargin
:
25
property
int
leftMargin
:
30
property
int
rightMargin
:
15
property
int
spacing
:
10
property
int
width
:
300
property
QtObject
message
:
QtObject
{
property
color
color
:
Colors
.
h
property
int
pointSize
:
Units
.
dp
*
10
property
int
topPadding
:
10
}
}
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