Non-resizable dialogs grow in size on DPI change (Issue #26485)

32 views
Skip to first unread message

taler21

unread,
May 20, 2026, 5:30:58 AMMay 20
to wx-...@googlegroups.com, Subscribed
taler21 created an issue (wxWidgets/wxWidgets#26485)

This can also be seen in the dialogs sample, for instance with generic wxWidgets dialogs such as wxCredentialEntryDialog or wxNumberEntryDialog.

To Reproduce:

  1. Start the dialogs sample at a DPI scaling of 200%.
  2. Open the 'Credentials dialog' by pressing Ctrl+Shift+C or in the menu via 'Dialogs' > 'Entry dialogs' > 'Credential entry'.
    The dialog opens with a size of 624 x 367 pixels.
    CredentialEntryDialog-in-initial-size.png (view on web)
  3. Change the DPI scaling to 100% or move the dialog to a monitor with such DPI scaling.
  4. Set the DPI scaling back to 200% or move the dialog back to the original monitor.
    The dialog now measures 636 x 395 pixels. It is 28 pixels taller and 12 pixels wider than initially.
    CredentialEntryDialog-after-DPI-change.png (view on web)

Platform and version information

  • wxWidgets version you use: 3.2.8 and master (af199c4)
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 11


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26485@github.com>

VZ

unread,
Jun 1, 2026, 9:37:41 PM (2 days ago) Jun 1
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26485)

Thanks, #26550 fixes this — hopefully without breaking anything else, but please let me know if you see any adverse consequences.


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/issues/26485/4597941379@github.com>

taler21

unread,
Jun 2, 2026, 3:52:28 AM (yesterday) Jun 2
to wx-...@googlegroups.com, Subscribed
taler21 left a comment (wxWidgets/wxWidgets#26485)

Looks good, thanks!


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/issues/26485/4599946502@github.com>

VZ

unread,
Jun 2, 2026, 8:55:39 AM (yesterday) Jun 2
to wx-...@googlegroups.com, Subscribed

Closed #26485 as completed via 5aba16a.


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/issue/26485/issue_event/26237631452@github.com>

Reply all
Reply to author
Forward
0 new messages