On Wed, 10 Jan 2024 23:57:24 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> It might be a dumb question: would it be possible to avoid creating an > intermediate container and keep the existing .css files? Not a dumb question, that is what I tried at first. See also my old PR: https://github.com/openjdk/jfx/pull/630. I tried multiple things with the container and snapping, but never managed to fix all the issues with all scales. So I didn't found a way to fix this issue other than having the same container structure as `ScrollPane`, which works very well with whatever you put into it. > modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/caspian/caspian.css > line 1508: > >> 1506: } >> 1507: >> 1508: .list-view:focused > .virtual-flow > .viewport > .clipped-container > >> .sheet > .list-cell:focused { > > This might require a CSR as it might break custom stylesheets that modify > list/tree/table/views. Probably. Was not sure since this is a very specific case which we never had before (as far as I can tell). ------------- PR Comment: https://git.openjdk.org/jfx/pull/1330#issuecomment-1886636679 PR Review Comment: https://git.openjdk.org/jfx/pull/1330#discussion_r1448500125