TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
11.44k stars 1.08k forks source link

Title bar disappeared and permanent rescaling #2172

Open BradleyBravender opened 10 months ago

BradleyBravender commented 10 months ago

The Issue

Hopefully this is the correct place to post my issue. I was playing around with the library, and everything worked great until I tried using the customtkinter.set_window_scaling(float_value) command to rescale my window. Now, the title bar has permanently disappeared in both default and full screen mode, the boxes for the minimize, maximize, and exit buttons are whited out, and the mouse rescales to a smaller size when hovering over my ctk window.

My Troubleshooting Attempts

I've uninstalled and reinstalled the customtkinter and packaging modules in my virtual environment and ran my code. Issue persists. I've installed them in a different virtual environment and ran my code. Issue persists. I've even installed tkinter itself and ran a tkinter version of my code. Issue still persists.

My Set-up

I'm running my script from a Ubuntu WSL virtual machine on my Windows laptop, from VS code.

You can see what my ctk window looks like (the white box with 3 small boxes above it where the minimize, maximize, and exit buttons are supposed to be), along with a basic test code (which worked before I rescaled) in the enclosed photo.

Screenshot 2023-12-28 142139

MaxNiark commented 9 months ago

could u try this ?

python Vxx?

from customtkinter import *
class App(CTk):
    def __init__(self):
        super().__init__()

        self.title("TRY TO SEE SOMETHING ")
        self.geometry(f"{1500}x{180}")

app=App()        
app.mainloop()      

image