Skip to content

Conversation

@ilkinsufi
Copy link

Summary

This PR increases the tooltip wrap threshold from 80 to 100 characters to improve user experience.

Changes

  • Modified TOOLTIP_WRAP_THRESHOLD constant in src/qt/guiconstants.h
  • Changed value from 80 to 100 characters

Rationale

The previous threshold of 80 characters was too restrictive for modern displays and longer descriptive tooltips. This change allows more content to be displayed before tooltips are converted to rich text format.

Testing

  • No linter errors introduced
  • Change is minimal and low-risk
  • Improves UI/UX for longer tooltips

Type of Change

  • UI/UX improvement
  • Low-risk change
  • No breaking changes

This change improves the user experience by allowing longer tooltips
to be displayed before they are converted to rich text format.
The previous threshold of 80 characters was too restrictive for
modern displays and longer descriptive tooltips.
@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 21, 2025

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

@hebasto hebasto changed the title qt: Increase tooltip wrap threshold from 80 to 100 characters Increase tooltip wrap threshold from 80 to 100 characters Nov 3, 2025
Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was introduced in bitcoin/bitcoin#1090. During that discussion, there was a concern that "tooltip windows [were] too wide sometimes".

This isn’t about fitting on the screen, but about improving readability.

cc @laanwj @GBKS

@GBKS
Copy link

GBKS commented Nov 4, 2025

I think some examples would be helpful to evaluate this change. Could you possibly share before and after screenshots?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants