diff --git a/customtkinter/windows/widgets/ctk_scrollable_frame.py b/customtkinter/windows/widgets/ctk_scrollable_frame.py index 685deb2..687f4ad 100644 --- a/customtkinter/windows/widgets/ctk_scrollable_frame.py +++ b/customtkinter/windows/widgets/ctk_scrollable_frame.py @@ -181,10 +181,10 @@ class CTkScrollableFrame(tkinter.Frame, CTkAppearanceModeBaseClass, CTkScalingBa self._scrollbar.configure(fg_color=kwargs.pop("scrollbar_fg_color")) if "scrollbar_button_color" in kwargs: - self._scrollbar.configure(fg_color=kwargs.pop("scrollbar_button_color")) + self._scrollbar.configure(button_color=kwargs.pop("scrollbar_button_color")) if "scrollbar_button_hover_color" in kwargs: - self._scrollbar.configure(fg_color=kwargs.pop("scrollbar_button_hover_color")) + self._scrollbar.configure(button_hover_color=kwargs.pop("scrollbar_button_hover_color")) if "label_text" in kwargs: self._label_text = kwargs.pop("label_text")