Open HussainiProgrammer opened 2 months ago
@HussainiProgrammer Try adjusting the corner radius for all the comboboxes/optionmenus
@Akascape I tried random values for corner_radius, and the labels/entries still look the same
@HussainiProgrammer Try to configure them separately.
combobox.configure(corner_radius=10)
@Akascape Again, nothing changed.
@HussainiProgrammer Also change the height maybe. I somehow solved this issue by configuring the width height values.
@Akascape Configuring the corner_radius actually works when I use Option Menus instead of Combo Boxes (but I have to use root.bind("<Configure>", configureCornerRadius)
for some reason), and I have already tried changing the width and height and tried all the placing methods (.place, .pack, .grid) but settled on .place because they all had the same issue anyway, and I prefer it.
The width of the label inside any CTkOptionMenu and the entry inside any CTkComboBox is greater than what it should be. I investigated the source code and I think the calculation of the xpad on the right of the label/entry isn't valid in the _create_grid() method of both classes. Is there anything I can do to fix this? Screenshots:
I am running this code on a Windows 11 laptop and I am using customtkinter 5.2.2 (latest version):