java - Scene builder GUI components do not look the same when I run the project from IntelliJ
问题描述
I am using Scene Builder, IntelliJ and some UI libraries (jfoenix, gluon-charm-glisten, fontawesomefx) to build a JavaFX desktop application, what I am doing is building the scene in the scene builder then saving the .fxml file to my project's directory, in IntelliJ I have added the mentioned libraries above to the external libraries by going to the Project's Settings..etc.
This is what I have built with the Scene builder:
I used Gluon's AutocompleteTextField
and this what I got after I run the project from IntelliJ.
Question: Why is this happening and what are the possible ways of fixing it or avoiding it happening again?
解决方案
推荐阅读
- django - Django 中的 FlatPicker 编辑自定义表单显示时间,只有几天
- python-3.x - django list_filter 不可滚动
- google-apps-script - 带有 Apps 脚本的 SF 连接器
- php - 在php中为多维数组提取相等的值
- html - 在容器中包装文本,而不会弄乱父容器中的样式
- git - 为什么我的 .gitignore 没有忽略文件夹?
- java - 如何使用查询从 MySQL 数据库中检索单个单元格并将其分配给 Java Netbeans Apache 中的变量
- python - 如何避免覆盖写入数据的 csv 文件?
- multithreading - 为 JavaFX 任务实现暂停和恢复功能
- bash - 使用 bash 从 netcat 读取输出