Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
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
Container 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
nheko
Commits
fa06881c
Commit
fa06881c
authored
3 years ago
by
Loren Burkholder
Browse files
Options
Downloads
Patches
Plain Diff
Don't hardcode fonts
Fix hardcoded fonts (again)
parent
152acdc4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
resources/qml/InviteDialog.qml
+2
-2
2 additions, 2 deletions
resources/qml/InviteDialog.qml
resources/qml/RoomMembers.qml
+3
-3
3 additions, 3 deletions
resources/qml/RoomMembers.qml
resources/qml/RoomSettings.qml
+3
-3
3 additions, 3 deletions
resources/qml/RoomSettings.qml
with
8 additions
and
8 deletions
resources/qml/InviteDialog.qml
+
2
−
2
View file @
fa06881c
...
...
@@ -111,13 +111,13 @@ ApplicationWindow {
Label
{
text
:
model
.
displayName
color
:
TimelineManager
.
userColor
(
model
?
model
.
mxid
:
""
,
Nheko
.
colors
.
window
)
font.pointSize
:
12
font.pointSize
:
fontMetrics
.
font
.
pointSize
}
Label
{
text
:
model
.
mxid
color
:
Nheko
.
colors
.
buttonText
font.pointSize
:
10
font.pointSize
:
fontMetrics
.
font
.
pointSize
*
0.9
}
Item
{
...
...
This diff is collapsed.
Click to expand it.
resources/qml/RoomMembers.qml
+
3
−
3
View file @
fa06881c
...
...
@@ -43,7 +43,7 @@ ApplicationWindow {
}
Label
{
font.pixelSize
:
2
4
font.pixelSize
:
fontMetrics
.
font
.
pixelSize
*
2
text
:
members
.
memberCount
+
(
members
.
memberCount
===
1
?
qsTr
(
"
person in
"
)
:
qsTr
(
"
people in
"
))
+
members
.
roomName
Layout.alignment
:
Qt
.
AlignHCenter
}
...
...
@@ -97,13 +97,13 @@ ApplicationWindow {
Label
{
text
:
model
.
displayName
color
:
TimelineManager
.
userColor
(
model
?
model
.
mxid
:
""
,
Nheko
.
colors
.
window
)
font.pointSize
:
12
font.pointSize
:
fontMetrics
.
font
.
pointSize
}
Label
{
text
:
model
.
mxid
color
:
Nheko
.
colors
.
buttonText
font.pointSize
:
10
font.pointSize
:
fontMetrics
.
font
.
pointSize
*
0.9
}
Item
{
...
...
This diff is collapsed.
Click to expand it.
resources/qml/RoomSettings.qml
+
3
−
3
View file @
fa06881c
...
...
@@ -98,7 +98,7 @@ ApplicationWindow {
MatrixText
{
text
:
roomSettings
.
roomName
font.pixelSize
:
2
4
font.pixelSize
:
fontMetrics
.
font
.
pixelSize
*
2
Layout.alignment
:
Qt
.
AlignHCenter
}
...
...
@@ -264,7 +264,7 @@ ApplicationWindow {
MatrixText
{
text
:
roomSettings
.
roomId
font.pixelSize
:
14
font.pixelSize
:
fontMetrics
.
font
.
pixelSize
*
1.2
Layout.alignment
:
Qt
.
AlignRight
}
...
...
@@ -274,7 +274,7 @@ ApplicationWindow {
MatrixText
{
text
:
roomSettings
.
roomVersion
font.pixelSize
:
14
font.pixelSize
:
fontMetrics
.
font
.
pixelSize
*
1.2
Layout.alignment
:
Qt
.
AlignRight
}
...
...
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