Show String properties' text in a tooltip in the inspector - #76231
Merged
Conversation
Contributor
|
How does this work with properties that have doc comments? |
Member
Author
The value's tooltip is shown when hovering the value. The documentation is only shown when hovering the name, like before. (This also applies to properties of types other than String.) |
Contributor
I don't think that's a necessary complication, all types always show their value as tooltips. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Calinou
force-pushed
the
inspector-text-show-tooltip
branch
from
October 28, 2024 17:16
42bdfbe to
45499e3
Compare
Member
Author
|
Rebased and tested again, it works as expected. |
Member
|
Moving this to 4.4 as it should've been a long time coming. |
Mickeon
reviewed
Oct 28, 2024
Member
Calinou
force-pushed
the
inspector-text-show-tooltip
branch
from
November 2, 2024 23:41
45499e3 to
18239ee
Compare
Member
Author
|
I've trimmed the tooltip to the first 100 characters, so it should no longer get very long now. |
Calinou
force-pushed
the
inspector-text-show-tooltip
branch
from
November 19, 2024 22:40
18239ee to
626ee20
Compare
AThousandShips
approved these changes
Nov 20, 2024
Calinou
force-pushed
the
inspector-text-show-tooltip
branch
from
December 4, 2024 00:23
626ee20 to
713d6c6
Compare
This allows previewing single-line or multipline strings that are too long too fit within the box in the inspector.
Calinou
force-pushed
the
inspector-text-show-tooltip
branch
from
December 4, 2024 00:24
713d6c6 to
e4106f8
Compare
Contributor
|
Thanks! |
BendyLand
pushed a commit
to BendyLand/voltaire
that referenced
this pull request
Aug 2, 2026
…-tooltip Show String properties' text in a tooltip in the inspector
BendyLand
pushed a commit
to BendyLand/voltaire
that referenced
this pull request
Aug 2, 2026
…-tooltip Show String properties' text in a tooltip in the inspector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This allows previewing single-line or multipline strings that are too long too fit within the box in the inspector.
I wonder if it's possible to only show the tooltip if the text doesn't fully fit within the box. @bruvzg Is there a way we can detect this while taking the font size and advance into account (for both LineEdit and TextEdit)?Testing project: test_inspector_text_tooltip.zip
Preview