[英]Java FX Swing node reduces the overall size of the swing components visually
I have a swing frame which looks like this actually我有一个 swing 框架,实际上看起来像这样
But when i wrap that in a javafx swing node the overall size of the component reduces noticeably giving me this:但是,当我将其包装在 javafx swing 节点中时,组件的整体大小显着减小,这给了我:
I can see the font size, table size everything looks zoomed out.我可以看到字体大小、表格大小,一切看起来都缩小了。
I want the same look and feel in the latter also.我也希望后者具有相同的外观和感觉。 Please help.
请帮忙。
Thanks, Hari谢谢,哈里
After so much of toiling around i saw theres no solution to this so i just increased the font sizes of the whole swing application using UIManager api's.经过这么多的辛勤工作,我发现没有解决方案,所以我只是使用 UIManager api 增加了整个 swing 应用程序的字体大小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.