#๐Ÿ”’ How do i reduce the padding between my gui and the login buttons?

38 messages ยท Page 1 of 1 (latest)

tribal axleBOT
#

@blissful nova

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

blissful nova
#

i cant send my code here :((

#

i need to remove all the extra space and if someone could tell me how to round out the corners of my gui that would be great too

#

im extremely new to python sorry if im asking dumbass questions

sand root
tribal axleBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

blissful nova
sand root
#

You should preferably only send the relevant pieces of code, not the entire thing
Also mention which library you are using in the title

blissful nova
#

How do i reduce the padding between my gui and the login buttons? (customtkinter)

#

heres the snippet

sand root
#

that should be enough information for someone familiar with customtkinter, but I have no clue about how it works to be honest.

my best guess from the docs would corner_radius or reducing pady

#

Usually the more things a library handles for you, the less ways to configure it you have

#

it looks like the entire point of CustomTkinter is applying a preset style onto your Tkinter application?

blissful nova
#

well yes

#

i tried reducing pady and it just reduced the space between the login entries

blissful nova
sand root
#

you mean align it to the left or the right instead of the center?

blissful nova
#

i mean reduce the extra space

sand root
#

or the space above "Login"?

blissful nova
#

do you see how theres all that extra space between the login panel and the outside of the gui

#

i need to reduce that

sand root
#

yeah I don't get what you mean

#

edit it in Paint or something to show an example of what you are trying to achieve

blissful nova
#

i want all this gone

sand root
#

like this?

#

If so, just reduce the window size?

blissful nova
#

i think thats it

#

i was trying to reduce the pady

#

im sorry for wasting your time

#

yup it worked

#

thanks @sand root

tribal axleBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.