Elide the hover link indicator
For long links, this ends up going "off" the window (not really of course.) One good example is Bugzilla filter URLs which are ungodly huge. So eliding these just makes it look better, browsers do this too.
This commit is contained in:
@@ -21,6 +21,7 @@ QQC2.Control {
|
||||
|
||||
contentItem: QQC2.Label {
|
||||
text: root.text.startsWith("https://matrix.to/") ? "" : root.text
|
||||
elide: Text.ElideRight
|
||||
Accessible.description: i18nc("@info screenreader", "The currently selected link")
|
||||
}
|
||||
|
||||
|
||||
@@ -292,8 +292,12 @@ Kirigami.ApplicationWindow {
|
||||
HoverLinkIndicator {
|
||||
id: linkIndicator
|
||||
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
rightMargin: Kirigami.Units.largeSpacing
|
||||
}
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
|
||||
Reference in New Issue
Block a user