mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Small fixes [stage]
This commit is contained in:
parent
2df431ae79
commit
5ca15b2af6
4 changed files with 7 additions and 6 deletions
|
@ -92,7 +92,7 @@ public class BrowserTransferComp extends SimpleComp {
|
|||
.hide(Bindings.isEmpty(syncItems));
|
||||
|
||||
var bottom =
|
||||
new HorizontalComp(List.of(dragNotice, Comp.hspacer(), downloadButton, Comp.hspacer(4), clearButton));
|
||||
new HorizontalComp(List.of(Comp.hspacer(), dragNotice, Comp.hspacer(), downloadButton, Comp.hspacer(4), clearButton));
|
||||
var listBox = new VerticalComp(List.of(list, bottom))
|
||||
.spacing(5)
|
||||
.padding(new Insets(10, 10, 5, 10))
|
||||
|
|
|
@ -8,7 +8,6 @@ import io.xpipe.app.prefs.AppPrefs;
|
|||
import io.xpipe.app.util.InputHelper;
|
||||
import io.xpipe.app.util.ThreadHelper;
|
||||
import io.xpipe.core.process.OsType;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.value.ObservableValue;
|
||||
import javafx.css.PseudoClass;
|
||||
|
@ -190,7 +189,9 @@ public class AppWindowHelper {
|
|||
alert.initOwner(AppMainWindow.getInstance().getStage());
|
||||
}
|
||||
alert.getDialogPane().getScene().setFill(Color.TRANSPARENT);
|
||||
addIcons(((Stage) alert.getDialogPane().getScene().getWindow()));
|
||||
var stage = (Stage) alert.getDialogPane().getScene().getWindow();
|
||||
stage.initStyle(StageStyle.UNIFIED);
|
||||
addIcons(stage);
|
||||
setupStylesheets(alert.getDialogPane().getScene());
|
||||
return alert;
|
||||
}
|
||||
|
|
|
@ -22,9 +22,9 @@ public class SyncCategory extends AppPrefsCategory {
|
|||
.sub(new OptionsBuilder()
|
||||
.name("enableGitStorage")
|
||||
.description(
|
||||
AppProperties.get().isStaging() ? "enableGitStoragePtbDisabled" : "enableGitStorage")
|
||||
AppProperties.get().isStaging() && !prefs.developerMode().getValue() ? "enableGitStoragePtbDisabled" : "enableGitStorage")
|
||||
.addToggle(prefs.enableGitStorage)
|
||||
.disable(AppProperties.get().isStaging())
|
||||
.disable(AppProperties.get().isStaging() && !prefs.developerMode().getValue())
|
||||
.nameAndDescription("storageGitRemote")
|
||||
.addString(prefs.storageGitRemote, true)
|
||||
.disable(prefs.enableGitStorage.not())
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
10.0-23
|
||||
10.0-24
|
||||
|
|
Loading…
Reference in a new issue