You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a calculator application that uses the grid() geometry manager. I noticed the CTkCanvas widget does not scale like other widgets when declaring the canvas's width/height. Moreover, I attached some pictures of the issue and how the canvas is similar in width to the operation bar when it should not be. Moreover, a list of arguments is nonexistent for CTkCanvas when the other widgets have their arguments transparent (For Pylance's option of listing all present arguments in a class/function).
The text was updated successfully, but these errors were encountered:
Hi @dipeshSam ,
As you know, the init method is responsible for initializing the arguments in a class. When you inherit another class, these arguments can only be customized using the super().__init__() method. To clarify, the first init creates arguments for the new class, while the second init inherits the arguments from the original CustomTkinter class, allowing for configurations of the original base class. I hope this explanation is clear.
Moreover, I will provide a more apparent example of the inconsistent sizing associated with the CustomTkinter Canvas class. The two widgets are both ten pixels less in width than their masters, yet the display still touches the sides of the screen. This seems to be an occurrence only at higher sizes (ex: 30 pixels less make them equal in sizing).
I am developing a calculator application that uses the grid() geometry manager. I noticed the CTkCanvas widget does not scale like other widgets when declaring the canvas's width/height. Moreover, I attached some pictures of the issue and how the canvas is similar in width to the operation bar when it should not be. Moreover, a list of arguments is nonexistent for CTkCanvas when the other widgets have their arguments transparent (For Pylance's option of listing all present arguments in a class/function).
The text was updated successfully, but these errors were encountered: