On Sat, 4 Jul 2026 18:34:03 GMT, Michael Strauß <[email protected]> wrote:
> > 1. The top border is cut by 1px. Maybe intended? But looks weird. > > Doesn't look intentional to me. I've noticed issues like these with several > layout containers, and I guess it's a snapping issue. 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? > > 2. I hover over the settings button and then right next to the minimize > > button and the hover state is not cleared from the settings button. > > This looks like a bug. Can you create a JBS ticket to track it? Created: https://bugs.openjdk.org/browse/JDK-8387727 > > 3. The minimize button looks blurry > > Yes, there's a noticeable difference between the way JavaFX and Windows > rasterize shapes, especially on low-DPI screens. I've tried to tweak shape > sizes a little bit on Windows to make them look more similar, but there will > always be a difference. One solution could be to use images instead of SVGs. > This might be a future improvement. Or maybe we can improve the SVG rasterization. For rendering SVG paths, it seems to make a difference how the nodes are built and if the SVG is used as `Shape`. I just used the `minimize` SVG path in [SvgNode](https://github.com/Maran23/svgnode) and it looks good: <img width="31" height="19" alt="image" src="https://github.com/user-attachments/assets/328aaa10-badf-49d0-a862-023c8015cd58" /> When I wrote it, I found out that the node structure and using a `SVGPath` as shapes influences how the SVG looks (e.g. if it looks blurry). So maybe we can improve that in the future! ------------- PR Comment: https://git.openjdk.org/jfx/pull/2188#issuecomment-4883920122
