Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix image size display in wxRibbon tools and buttons #1382

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

Randalphwa
Copy link
Collaborator

Retrieving a bundle and then calling bundle.GetBitmapFor() gets us correct scaling even for Ribbon tools and buttons that support wxBitmapBundle.

This PR fixes problems with Mockup image size and display of wxRibbon tools and buttons. The Mockup now scales the images to match the DPI of wxUiEditor's mainframe window.

Retrieving a bundle and then calling bundle.GetBitmapFor() gets us correct
scaling even for Ribbon tools and buttons that support wxBitmapBundle.
@Randalphwa Randalphwa merged commit be4600b into main Jan 15, 2024
@Randalphwa Randalphwa deleted the ribbon_mockup branch January 15, 2024 19:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant