mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed scrollbar colors for scrollable frame #1509
This commit is contained in:
parent
b60859dfd6
commit
86ba99c2ab
@ -181,10 +181,10 @@ class CTkScrollableFrame(tkinter.Frame, CTkAppearanceModeBaseClass, CTkScalingBa
|
|||||||
self._scrollbar.configure(fg_color=kwargs.pop("scrollbar_fg_color"))
|
self._scrollbar.configure(fg_color=kwargs.pop("scrollbar_fg_color"))
|
||||||
|
|
||||||
if "scrollbar_button_color" in kwargs:
|
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:
|
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:
|
if "label_text" in kwargs:
|
||||||
self._label_text = kwargs.pop("label_text")
|
self._label_text = kwargs.pop("label_text")
|
||||||
|
Loading…
Reference in New Issue
Block a user