Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wx.lib.agw.aui.AuiNotebook tab text blurry #2359

Closed
tianzhuqiao opened this issue Mar 1, 2023 · 0 comments · Fixed by #2360
Closed

wx.lib.agw.aui.AuiNotebook tab text blurry #2359

tianzhuqiao opened this issue Mar 1, 2023 · 0 comments · Fixed by #2360

Comments

@tianzhuqiao
Copy link

Operating system: MacOS (13.2.1)
wxPython version & source: 4.2.0
Python version & source: 3.9.5

Description of the problem:
The text on notebook tab is blurry (e.g, AUI.py in demo).

Screenshot 2023-03-01 at 10 54 53 AM

I think the problem is in the following line

bmp = wx.Bitmap(self._rect.GetWidth(), self._rect.GetHeight())

if we change it to (i.e., to apply the scaling factor from raw_dc), the problem goes away

bmp = wx.Bitmap(self._rect.GetWidth(), self._rect.GetHeight(), raw_dc)

Screenshot 2023-03-01 at 10 54 08 AM

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 a pull request may close this issue.

1 participant