ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.96k stars 821 forks source link

Output doesn't look like Figma's #188

Closed Mennaruuk closed 2 years ago

Mennaruuk commented 2 years ago

Good morning or evening Parth, I hope you are doing great.

I tried Tkinter Designer for the first time. Unfortunately, the output gui.py doesn't look much like my Figma project.

Actual output

image

Expected output

image

Here is the link to my project: https://www.figma.com/file/KEk4cu9XKoWWgpsfp4PVoM/twayback-(Copy)?node-id=7%3A3

Thank you for your help. I hope I am not bothering you, let me know if I am and I will shut up.

ParthJadhav commented 2 years ago

Hey, The fix is easy. Don't name the text anything which is related to elements. TextArea is for Multiline Entry. Just name ur text anything other than the element names.

You can just change the name of text elements from being "TextArea" to "Text" and this will fix the issue.

Mennaruuk commented 2 years ago

Thank you for this. It works perfectly.

I think it'd be very helpful to add Text as one of the parameters in Docs.

Have a great day.

ParthJadhav commented 2 years ago

Yeah, Just did it. Good luck with your project !

ParthJadhav commented 2 years ago

Also you can have a look at :-

https://github.com/Just-Moh-it/HotinGo

https://github.com/Just-Moh-it/HotinGo#6-installing-fonts

He explained about fonts in his readme. And included a font installation file. You can also checkout his repo, he did a great work. #185