mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-10-20 06:12:57 +02:00
Use one base font size and a per-profile startup design
JavaFX picks a 13px default font on macOS and Linux but 12px on Windows, so labels in fixed-size controls were cut off outside Windows. Both stylesheets now set 12px on the root. Each operator profile now chooses light or dark mode for startup on the GUI settings tab. The Windows menu entries remain a quick switch for the running session. All windows, including the update window and the top candidates list, follow the design, and the main window no longer starts light while the station map starts dark. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
27c093b108
commit
1dfd8bf46b
12 files changed
+117
-42
No files matched your search
@@ -1,3 +1,8 @@
|
||||
.root {
|
||||
/* Same base font size on all platforms: macOS/Linux default to 13px, Windows to 12px. */
|
||||
-fx-font-size: 12px;
|
||||
}
|
||||
|
||||
.button:pressed {
|
||||
-fx-border-color: #ff0000;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user