KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
61 stars 6 forks source link

Fix image size display in wxRibbon tools and buttons #1382

Closed Randalphwa closed 6 months ago

Randalphwa commented 6 months ago

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.