将AnchorPanes添加到ScrollPanes Javafx 8 [英] Adding AnchorPanes to ScrollPanes Javafx 8
问题描述
你以前遇到过这个问题吗?
我在java 8升级后遇到了类似的问题:
-
使用JavaFX Scene Builder,我注意到在Layout:Position下,我将布局X / Y设为非零值(如9.893739等) 。当我用0替换那些时,模糊文本就消失了。
-
尝试删除任何锚窗格约束。我发现奇怪的计算正在导致宽度/长度变得奇怪,导致模糊
in JavaFX, when I add an AnchorPane that has a Label inside to a ScrollPane, the whole AnchorPane comes in a tad blurry, as if it had a Photoshop-feather effect. I am using Java8 the latest release. This was not the case with Java7. Have you ran into this issue before?
I had similar problems following a java 8 upgrade:
Using JavaFX Scene Builder, I noticed that under Layout: Position, I had Layout X / Y a non zero value (like 9.893739 etc). when I replaced those with 0, the blurry text went away.
Try removing any anchor pane constraints. I've found weird calculations being done that is causing the width/length to be weird fractions and causing blurriness
这篇关于将AnchorPanes添加到ScrollPanes Javafx 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!