Commit 53dfa26a authored by Nathaniel Graham's avatar Nathaniel Graham

Allow longer app names in titlebar without eliding

Summary: Previously, long app names in the titlebar were elided based on an arbitrary criteria of being 1/2 the toolbar width. Now they are elided only when they no longer fit at all.

Test Plan:
Tested in KDE Neon.
- No visual change for most app names, which are short
- Long app names are now only elided when they actually no longer fit in the space

Before:
{F5665626}

After:
{F5665627}

Reviewers: apol, #discover_software_store

Reviewed By: apol, #discover_software_store

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9995
parent 9248b375
......@@ -113,7 +113,7 @@ DiscoverPage {
}
Kirigami.Heading {
level: 3
Layout.maximumWidth: parent.width/2
Layout.fillWidth: true
text: appInfo.application.name
maximumLineCount: 1
elide: Text.ElideRight
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment