tufanv Expert Licensed User Longtime User Oct 13, 2017 #1 Hello, I am using a scrollpane to add panes in it. Lets say I have added 3 panes to scroll and there is a gap below. If I click on one of the panes , the empty part of scrollpane gets a selected blue color : please check the img: is there any way to avoid it ?
Hello, I am using a scrollpane to add panes in it. Lets say I have added 3 panes to scroll and there is a gap below. If I click on one of the panes , the empty part of scrollpane gets a selected blue color : please check the img: is there any way to avoid it ?
stevel05 Expert Licensed User Longtime User Oct 13, 2017 #2 I think you'll need to do that in an external css file. I believe it's the :focused pseudo‑class you will need to change. Something like: B4X: .scroll-pane:focused{ -fx-background-color: Transparent; } Upvote 0
I think you'll need to do that in an external css file. I believe it's the :focused pseudo‑class you will need to change. Something like: B4X: .scroll-pane:focused{ -fx-background-color: Transparent; }
tufanv Expert Licensed User Longtime User Oct 13, 2017 #3 stevel05 said: I think you'll need to do that in an external css file. I believe it's the :focused pseudo‑class you will need to change. Something like: B4X: .scroll-pane:focused{ -fx-background-color: Transparent; } Click to expand... This solved it Thanks ! Upvote 0
stevel05 said: I think you'll need to do that in an external css file. I believe it's the :focused pseudo‑class you will need to change. Something like: B4X: .scroll-pane:focused{ -fx-background-color: Transparent; } Click to expand... This solved it Thanks !