Public bug reported:
By default, when using links in a label, the color is not taken from the
palette, and becomes unreadable in SuruDark.
Label {
text: '<a href="http://www.ubuntu.com">Ubuntu Website</a>'
textFormat: Text.StyledText
onLinkActivated: Qt.openUrlExternally(link)
}
There's no palette value for this use-case. A work-around is to use
"linkColor: UbuntuColors.orange" which works for both standard themes.
See also bug 1589896.
** Affects: ubuntu-ux
Importance: Undecided
Status: New
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Also affects: ubuntu-ux
Importance: Undecided
Status: New
** Description changed:
By default, when using links in a label, the color is not taken from the
palette, and becomes unreadable in SuruDark.
Label {
- text: '<a href="http://www.ubuntu.com">Ubuntu Website</a>'
- textFormat: Text.StyledText
- onLinkActivated: Qt.openUrlExternally(link)
+ text: '<a href="http://www.ubuntu.com">Ubuntu Website</a>'
+ textFormat: Text.StyledText
+ onLinkActivated: Qt.openUrlExternally(link)
}
There's no palette value for this use-case. A work-around is to use
"linkColor: UbuntuColors.orange" which works for both standard themes.
+
+ See also bug 1589896.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589895
Title:
Label should have readable themed link color
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1589895/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs