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
The rules scrollbar_background_active and scrollbar_color_hover do not affect the way a scrollbar looks like.
Run the app below and notice that you can't make the scrollbar background red when you drag it, nor can you turn the thumb pink when you hover it.
fromtextual.appimportAppfromtextual.widgetsimportLabelTEXT="""I must not fear.Fear is the mind-killer.Fear is the little-death that brings total obliteration.I will face my fear.I will permit it to pass over me and through me.And when it has gone past, I will turn the inner eye to see its path.Where the fear has gone there will be nothing. Only I will remain."""_CSS="""Screen { scrollbar-background-active: red; scrollbar-background-hover: purple; scrollbar-color-active: yellow; scrollbar-color-hover: pink;}"""classScrollbarActiveApp(App):
CSS=_CSSdefcompose(self):
yieldLabel(TEXT*10)
The text was updated successfully, but these errors were encountered:
The rules
scrollbar_background_active
andscrollbar_color_hover
do not affect the way a scrollbar looks like.Run the app below and notice that you can't make the scrollbar background red when you drag it, nor can you turn the thumb pink when you hover it.
The text was updated successfully, but these errors were encountered: