Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 JavaFX 中,当我将一个内部有标签的 AnchorPane 添加到 ScrollPane 时,整个 AnchorPane 有点模糊,就好像它具有 Photoshop 羽毛效果一样。我正在使用最新版本的 Java8。Java7 并非如此。你以前遇到过这个问题吗?
java 8升级后我遇到了类似的问题:
使用 JavaFX Scene Builder,我注意到在 Layout: Position 下,我有 Layout X / Y 一个非零值(如 9.893739 等)。当我用 0 替换那些时,模糊的文字消失了。
尝试删除任何锚窗格约束。我发现正在进行的奇怪计算导致宽度/长度成为奇怪的分数并导致模糊