dsa-t
dsa-t
Why not install native rpm versions instead of flatpaks?
> FYI there is a native renderer for `wxQt`. Just update `wxPG_USE_RENDERER_NATIVE` for `__WXQT__` and it will be used instead of the generic renderer. It's not aligning properly and clipping...
```cpp // comment to use bitmap buttons #define wxPG_ICON_WIDTH 11 // 1 if wxRendererNative should be employed #define wxPG_USE_RENDERER_NATIVE 1 ```  For visibility: ```cpp #if wxPG_USE_RENDERER_NATIVE dc.SetBrush(*wxRED_BRUSH); dc.SetPen(*wxBLUE_PEN); dc.DrawRectangle(r);...
`5.15.3+dfsg-2ubuntu0.2`
This PR can be merged without further Qt-specific changes.
~I haven't looked yet, but could there be some downscaling happening?~ ~In that case, https://github.com/wxWidgets/wxWidgets/pull/24567 should help.~ Edit: tested, unrelated
The actual drawn checkbox size is different to the rect that wx passes to `DrawThemeBackground`. DrawThemeBackground | Actual | Scale -|-|- 15x15 | 13x13 | 100% 20x20 | 16x16 (if...
Here are best checkbox sizes for different scales on Win11: 100%: 13 125%: 16 150%: 20 175%: 20 200%: 26 225%: 26 250%: 32 275%: 32 300%: 40 350%: 40...
Seems to be working correctly with this patch: ```patch diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index 2a8d013b31..31e884142f 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -716,7 +716,18 @@ wxRendererXP::DoDrawXPButton(int kind, if ( !hTheme )...
PR: https://github.com/wxWidgets/wxWidgets/pull/24671