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

Corners not rendering correctly running the sample program #1384

Open
sbhanji opened this issue Mar 26, 2023 · 9 comments
Open

Corners not rendering correctly running the sample program #1384

sbhanji opened this issue Mar 26, 2023 · 9 comments

Comments

@sbhanji
Copy link

sbhanji commented Mar 26, 2023

Hello,

I tried running the sample program but as you can see from the screenshot all the corners are not rendering correctly!

2023-03-26_14-53-14

The reason I am posting this is that it was my understanding that using conda and python v3.10+ would work, is that not the case? I checked and all 3 of the fonts do exist in ~/.fonts directory.

I should mention that I am using Ubuntu 22.04, conda 23.1.0, python v3.10.10 (conda env).

Thanks,
Sam.

@sbhanji
Copy link
Author

sbhanji commented Mar 26, 2023

So I tried removing antialiasing using:

customtkinter.DrawEngine.preferred_drawing_method = "circle_shapes"

and it worked but does look a little rough around the edges as shown below :-(

2023-03-26_15-11-21

Anyone with a better solution?

Sam.

@ElectricCandlelight
Copy link

Possible duplicate of #1358 , #1271 and #931

Tried it without using Conda?

@sbhanji
Copy link
Author

sbhanji commented Mar 26, 2023

Anyone looking at this with conda or any other virtual environ for that matter (penv)? (feature request)

@ElectricCandlelight
Copy link

If I get time I'll try conda. I normally use venv which works absolutely fine.

@sbhanji
Copy link
Author

sbhanji commented Mar 26, 2023

Thank you, much appreciated. I have multiple versions of python3 (3.8, 3.9 and 3.10) and using venv makes it limited for my use case.

Has anyone else tried another virtual environment that work (other an venv)?

Sam.

@ElectricCandlelight
Copy link

Well as fair as I'm aware Customtkinter only works with 3.10+ on Linux so using venv still makes sense.

@sbhanji
Copy link
Author

sbhanji commented Mar 27, 2023

Noted, let us know when you have progress on conda though :-)

@avalon60
Copy link

Well as fair as I'm aware Customtkinter only works with 3.10+ on Linux so using venv still makes sense.

I've had it working on Python 3.8 on my Linux Mint env, I only migrated to 3.10 a week or so back.

@CodingLama
Copy link

Same here, ugly corners at Ubuntu 22.04.4 LTS, Python 3.0.12.

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

No branches or pull requests

4 participants