Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Konheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Konheko
Commits
50003e15
Commit
50003e15
authored
5 years ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Fix display of long room names
parent
745e0e08
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
qml/pages/ChatPage.qml
+5
-0
5 additions, 0 deletions
qml/pages/ChatPage.qml
qml/pages/MainView.qml
+9
-2
9 additions, 2 deletions
qml/pages/MainView.qml
with
14 additions
and
2 deletions
qml/pages/ChatPage.qml
+
5
−
0
View file @
50003e15
...
...
@@ -15,6 +15,11 @@ Page {
anchors.fill
:
parent
PageHeader
{
anchors
{
left
:
parent
.
left
right
:
parent
.
right
}
id
:
header
title
:
room
.
roomName
()
...
...
This diff is collapsed.
Click to expand it.
qml/pages/MainView.qml
+
9
−
2
View file @
50003e15
...
...
@@ -84,13 +84,19 @@ Page {
width
:
mainRow
.
width
-
unreadMessages
.
width
-
roomImage
.
width
-
3
*
Theme
.
paddingMedium
Label
{
anchors
{
left
:
parent
.
left
right
:
parent
.
right
}
id
:
roomName
text
:
model
.
roomName
truncationMode
:
TruncationMode
.
Fade
color
:
Theme
.
primaryColor
font.pixelSize
:
Theme
.
fontSizeLarge
}
Text
{
Label
{
anchors
{
left
:
parent
.
left
right
:
parent
.
right
...
...
@@ -100,8 +106,9 @@ Page {
text
:
model
.
lastMessage
color
:
unreadNotifications
>
0
?
Theme
.
primaryColor
:
Theme
.
secondaryColor
wrapMode
:
Text
.
Wrap
elide
:
Text
.
ElideRight
truncationMode
:
TruncationMode
.
Fade
maximumLineCount
:
3
font.pixelSize
:
Theme
.
fontSizeExtraSmall
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment