On Sun, 5 Jul 2026 02:55:39 GMT, Michael Strauß <[email protected]> wrote:
> > Could be, but I directly set the `Button` as right `HeaderBar` node. So > > there is no container inbetween. Could still be a snapping problem in > > `Button` or so, but it could also be something else. Shall I create a > > ticket? > > Yeah, I think we should at least investigate and find out why that happens. Created https://bugs.openjdk.org/browse/JDK-8387728 Regarding the SVG rendering, I will create one the coming days, currently experimenting / checking what the JavaFX Controls do + `modena.css` and collecting all the different approaches. For example, this is how the `TitledPane` is configured. Looks a bit hacky (magic padding numbers that need to be configured exactly for the specific SVG shape). https://github.com/openjdk/jfx/blob/ca5d26623ce68d555d9a699c90b6dbd3e389f83e/modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css#L1863-L1874 ------------- PR Comment: https://git.openjdk.org/jfx/pull/2188#issuecomment-4887523318
