Fix Retina display issues with ribbon (PR #26409)

10 views
Skip to first unread message

Blake-Madden

unread,
Apr 26, 2026, 6:55:30 AM (2 days ago) Apr 26
to wx-...@googlegroups.com, Subscribed

In macOS, there were two issues:

  • The area drawn around regular-sized buttons was twice the size it should be.
Screenshot.2026-04-25.at.12.52.33.PM.png (view on web) - Smaller sized buttons would display the icon at the wrong (too large) size. Screenshot.2026-04-25.at.12.53.28.PM.png (view on web)

This PR fixes the size calculation of the button area, bitmap scaling, and implements some dead code with small button sizing.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26409

Commit Summary

  • 6bd8462 Fix retina display scaling of icons
  • 8b2e5ae Implement small button for ribbons

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26409@github.com>

Reply all
Reply to author
Forward
0 new messages