Skip to content

Conversation

@SpruceCloud
Copy link

@SpruceCloud SpruceCloud commented Jan 4, 2026

On Retina displays, when clicking the draggable element, the UI starts displaying in the lower left part of the window (1/4 of the size).

Convert logical pixels to physical pixels when resizing the window by multiplying by pixels_per_point(). Fixes issue #245 where the egui content would shrink to 1/4 size on macOS Retina displays when dragging the resize handle.

Unfortunately, I haven't tested the fix on Windows or Linux.

Convert logical pixels to physical pixels when resizing the window
by multiplying by pixels_per_point(). Fixes issue robbert-vdh#245 where the
egui content would shrink to 1/4 size on macOS Retina displays
when dragging the resize handle.
@BillyDM
Copy link
Contributor

BillyDM commented Jan 8, 2026

Once #240 is merged, then this issue will be resolved too. I went ahead and added this fix to my 3rd party nih-plug integration.

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.

2 participants