The bg_color of ctklabel overrides the bg_color of ctkframe, which is not right #2558
Replies: 1 comment
-
product_label=ctk.CTkFrame(result_frame,fg_color="white",bg_color='black',corner_radius=20) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
product_label=ctk.CTkFrame(result_frame,fg_color="white",bg_color='black',corner_radius=20)
img_label = ctk.CTkLabel(product_label,width=200 ,height=200,image=img_tk,text='',bg_color='blue',corner_radius=20)
name_label= ctk.CTkLabel(product_label,width=200,text=model_name,corner_radius=20)
img_label.grid(row=0,column=0)
name_label.grid(row=1,column=0)
I set the number of circular angles on the ctframe and the bg_color of ctklabel overrides the rounded corners,it is not right
Beta Was this translation helpful? Give feedback.
All reactions