Increase tooltip wrap threshold from 80 to 100 characters #905

pull ilkinsufi wants to merge 1 commits into bitcoin-core:master from ilkinsufi:qt-increase-tooltip-threshold changing 1 files +1 −1
  1. ilkinsufi commented at 6:55 pm on October 21, 2025: none

    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
  2. qt: Increase tooltip wrap threshold from 80 to 100 characters
    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.
    57b4b3d09b
  3. DrahtBot commented at 6:55 pm on October 21, 2025: contributor

    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.

  4. hebasto renamed this:
    qt: Increase tooltip wrap threshold from 80 to 100 characters
    Increase tooltip wrap threshold from 80 to 100 characters
    on Nov 3, 2025
  5. hebasto commented at 5:44 pm on November 3, 2025: member

    This code was introduced in https://github.com/bitcoin/bitcoin/pull/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

  6. GBKS commented at 7:01 am on November 4, 2025: none
    I think some examples would be helpful to evaluate this change. Could you possibly share before and after screenshots?

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-11-07 18:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me