Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Have tooltip also respect style settings #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion package/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,27 @@ PlasmoidItem {

PlasmaCore.ToolTipArea {
anchors.fill: parent
mainText: widget.tooltipText
mainItem: Text {
text: widget.tooltipText

// All other style from the parent Text
color: output.color
style: output.style
styleColor: output.styleColor
linkColor: output.linkColor
onLinkActivated: output.onLinkActivated
font.pointSize: output.font.pointSize
font.family: output.font.family
font.weight: output.font.weight
font.italic: output.font.italic
font.underline: output.font.underline
fontSizeMode: output.fontSizeMode
horizontalAlignment: output.horizontalAlignment
verticalAlignment: output.verticalAlignment
property bool isFixedWidth: output.isFixedWidth
elide: output.elide
wrapMode: output.wrapMode
}
enabled: widget.tooltipText
}

Expand Down
4 changes: 2 additions & 2 deletions package/translate/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
|----------|---------|-------|
| Template | 30 | |
| bz | 26/30 | 86% |
| fr | 24/30 | 80% |
| nl | 30/30 | 100% |
| fr | 30/30 | 100% |
| nl | 30/30 | 100% |
| pt_br | 27/30 | 90% |


Expand Down