Style fixes

This commit is contained in:
crschnick
2025-02-06 08:02:15 +00:00
parent 03c7d65bd6
commit 4fc3d01ac5
3 changed files with 3 additions and 2 deletions

View File

@@ -148,6 +148,7 @@ public class AppWindowHelper {
event.consume();
});
AppWindowBounds.fixInvalidStagePosition(s);
AppWindowHelper.addFontSize(s);
a.getDialogPane().getScene().addEventHandler(KeyEvent.KEY_PRESSED, event -> {
if (new KeyCodeCombination(KeyCode.W, KeyCombination.SHORTCUT_DOWN).match(event)) {
s.close();

View File

@@ -58,7 +58,7 @@ public interface WaveTerminalType extends ExternalTerminalType, TrackableTermina
var msg = """
The Wave integration requires XPipe to be launched from Wave itself to have access to its environment variables. Otherwise, XPipe does not have access to the token to control Wave.
You can do this by running the command "%s" in a local terminal block inside Wave.
You can do this by first making sure that XPipe is shut down and then running the command "%s" in a local terminal block inside Wave.
""".formatted(inPath ? "xpipe open" : XPipeInstallation.getLocalDefaultCliExecutable() + " open");
throw ErrorEvent.expected(new IllegalStateException(msg));
}

View File

@@ -3,7 +3,7 @@
}
.dialog-pane .button {
-fx-font-size: 0.8em;
-fx-font-size: 0.9em;
-fx-border-width: 1px;
-fx-border-radius: 2px;
-fx-background-radius: 2px;