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
1ea9cb67
Commit
1ea9cb67
authored
Feb 20, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Linphone/Chat/Chat): display component correctly (not a ugly white foreground)
parent
09fa8a86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
200 additions
and
198 deletions
+200
-198
Chat.qml
linphone-desktop/ui/modules/Linphone/Chat/Chat.qml
+200
-198
No files found.
linphone-desktop/ui/modules/Linphone/Chat/Chat.qml
View file @
1ea9cb67
...
...
@@ -9,7 +9,7 @@ import Utils 1.0
// =============================================================================
ColumnLayout
{
Rectangle
{
property
alias
proxyModel
:
chat
.
model
// Unable to use it in style file at this moment.
...
...
@@ -27,21 +27,22 @@ ColumnLayout {
// ---------------------------------------------------------------------------
spacing
:
0
color
:
_backgroundColor
ColumnLayout
{
Rectangle
{
anchors.fill
:
parent
color
:
_backgroundColor
}
spacing
:
0
ScrollableListView
{
id
:
chat
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
property
bool
_tryToLoadMoreEntries
:
true
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
function
_loadMoreEntries
()
{
if
(
atYBeginning
&&
!
_tryToLoadMoreEntries
)
{
...
...
@@ -51,7 +52,7 @@ ColumnLayout {
}
}
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
Layout.fillHeight
:
true
Layout.fillWidth
:
true
...
...
@@ -62,7 +63,7 @@ ColumnLayout {
property
:
'
$sectionDate
'
}
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
Component.onCompleted
:
{
function
goToEnd
()
{
...
...
@@ -107,9 +108,9 @@ ColumnLayout {
onContentYChanged
:
_loadMoreEntries
()
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
// Heading.
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
Component
{
id
:
sectionHeading
...
...
@@ -151,9 +152,9 @@ ColumnLayout {
}
}
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
// Message/Event renderer.
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
delegate
:
Rectangle
{
id
:
entry
...
...
@@ -185,7 +186,7 @@ ColumnLayout {
color
:
_backgroundColor
implicitHeight
:
layout
.
height
+
ChatStyle
.
entry
.
bottomMargin
// --
---------------------------------------------------------------------
//
---------------------------------------------------------------------
// Avoid the use of explicit qrc paths.
Component
{
...
...
@@ -208,7 +209,7 @@ ColumnLayout {
FileMessage
{}
}
// --
---------------------------------------------------------------------
//
---------------------------------------------------------------------
MouseArea
{
id
:
mouseArea
...
...
@@ -257,9 +258,9 @@ ColumnLayout {
}
}
// --
-------------------------------------------------------------------------
//
-------------------------------------------------------------------------
// Send area.
// --
-------------------------------------------------------------------------
//
-------------------------------------------------------------------------
Borders
{
Layout.fillWidth
:
true
...
...
@@ -286,4 +287,5 @@ ColumnLayout {
}
}
}
}
}
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