CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Corners not rendering correctly running the sample program

Open sbhanji opened this issue 2 years ago • 9 comments

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 avatar Mar 26 '23 18:03 sbhanji

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.

sbhanji avatar Mar 26 '23 19:03 sbhanji

Possible duplicate of #1358 , #1271 and #931

Tried it without using Conda?

ElectricCandlelight avatar Mar 26 '23 19:03 ElectricCandlelight

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

sbhanji avatar Mar 26 '23 20:03 sbhanji

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

ElectricCandlelight avatar Mar 26 '23 20:03 ElectricCandlelight

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.

sbhanji avatar Mar 26 '23 20:03 sbhanji

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

ElectricCandlelight avatar Mar 26 '23 21:03 ElectricCandlelight

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

sbhanji avatar Mar 27 '23 21:03 sbhanji

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.

avalon60 avatar May 19 '23 03:05 avalon60

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

CodingLama avatar May 21 '24 11:05 CodingLama