We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab8632 commit cbb83d4Copy full SHA for cbb83d4
HMCL/src/main/java/org/jackhuang/hmcl/ui/LogWindow.java
@@ -307,8 +307,8 @@ private static final class LogWindowSkin extends SkinBase<LogWindowImpl> {
307
listView.scrollTo(listView.getItems().size() - 1);
308
});
309
310
- listView.setStyle("-fx-font-family: " + Lang.requireNonNullElse(config().getFontFamily(), FXUtils.DEFAULT_MONOSPACE_FONT)
311
- + "; -fx-font-size: " + config().getFontSize() + "px;");
+ listView.setStyle("-fx-font-family: \"" + Lang.requireNonNullElse(config().getFontFamily(), FXUtils.DEFAULT_MONOSPACE_FONT)
+ + "\"; -fx-font-size: " + config().getFontSize() + "px;");
312
Holder<Object> lastCell = new Holder<>();
313
listView.setCellFactory(x -> new ListCell<Log>() {
314
{
0 commit comments