Relative Content

Tag Archive for pythontkintercustomtkinter

Using Python with CustomTkinter and having problems for labels

I’m trying to change the background of the label that its says “Welcome Back to Our Website!”, its only shows me the background of the original windows. I saw before that, that specific module doesn’t support bgcolor transparent, there is any way that I can remove that black background for the label and just left it with transparent?

Why is customtkinter label height not working?

I am trying to limit the height of a Customtkinter label but no matter what I set the height value to it doesn’t seem to do anything. I am using the Spotify API to fetch the name of the track which is currently playing, however, if the song name is long, it breaks the interface. I am also using wraplength to wrap the text.

Tkinter label limit number of rows?

I am using wraplength to limit the number of characters on each line for a label. Is there a way I can also limit the number of rows the label can have? I would like it to have a maximum of 2 rows of text.

Customtkinter grid buttons not centered

I am trying to make a control panel GUI using customtkinter which essentially consits of different pages with different buttons, however when I go to a different page, the buttons aren’t centered.

Setting a custom colour theme in customtkinter

In a project, I am trying to change the colour template of my project from a list of pre-loaded .json themes saved to a folder user_themes. The themes are Anthracite.json, Cobalt.json and Blue.json. A drop-down menu is used to select the color and the template should load.

Python, gui, ctk

so, I am creating a blog, and right now, I am in the settings part, and I have a slide panel with a button that I want it to go to a new window where I will create new widgets and etc…, I have already done this kinda of thing to login and sign_up, the thing is that now I can’t use pack.forget(), it just doesn’t work