CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

CTkProgressBar change length

Open aoi2010 opened this issue 1 year ago • 1 comments

import customtkinter

app = customtkinter.CTk()
progressbar = customtkinter.CTkProgressBar(app, orientation="horizontal",length=150)
progressbar.pack(padx=10, pady=10)

This shows this error :- ValueError: ['length'] are not supported arguments. Look at the documentation for supported arguments. But the below code doesnot show this error

from tkinter import * 
from tkinter.ttk import *
  
root = Tk() 
  
progress = Progressbar(root, orient = HORIZONTAL, 
              length = 100) 

root.mainloop()

But I want to use customtkinter not normal tkinter

aoi2010 avatar Jun 11 '24 10:06 aoi2010

customtkinter has different support for parameters. You can govern ~~length~~ using width argument instead.

Helpful link: https://customtkinter.tomschimansky.com/documentation/widgets/progressbar

dipeshSam avatar Jun 11 '24 10:06 dipeshSam