Add fonts selector for #153

This commit is contained in:
Dmitry Isaenko 2023-10-29 06:15:43 +03:00
parent 9d4cac26e5
commit 3909371774
21 changed files with 416 additions and 86 deletions

View file

@ -60,4 +60,8 @@ public class MediatorControl {
getPatchesController().notifyThreadStarted(isActive, appModuleType);
}
public synchronized boolean getTransferActive() { return this.isTransferActive.get(); }
public void updateApplicationFont(String fontFamily, double fontSize){
mainController.logArea.getScene().getRoot().setStyle(
String.format("-fx-font-family: \"%s\"; -fx-font-size: %.0f;", fontFamily, fontSize));
}
}