Scale wxAuiToolBar packing, padding and margins by DPI factor (PR #26235)

17 views
Skip to first unread message

VZ

unread,
Feb 23, 2026, 2:59:32 PM (2 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed

Store these values in DIPs internally and apply FromDIP() when using them.

This is simpler and possibly more precise than rescaling them when getting wxEVT_DPI_CHANGED event and the only awkward part is that we need to use ToDIP() in the setter functions, but this is arguably not very important as these functions are hardly ever used anyhow.

Closes #26076.


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

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

Commit Summary

  • ac1f286 Scale wxAuiToolBar packing, padding and margins by DPI factor

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26235@github.com>

dsa-t

unread,
Feb 23, 2026, 5:19:01 PM (2 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed
dsa-t left a comment (wxWidgets/wxWidgets#26235)

Looks ok to me, thanks!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26235/c3947646788@github.com>

VZ

unread,
Feb 24, 2026, 10:57:07 AM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26235)

Applied as the commit above.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26235/c3953104584@github.com>

VZ

unread,
Feb 24, 2026, 10:57:08 AM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed

Closed #26235.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26235/issue_event/23039862880@github.com>

Reply all
Reply to author
Forward
0 new messages