mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-28 11:25:37 +00:00
Small UI improvements
This commit is contained in:
@@ -48,7 +48,7 @@ public class BrowserWelcomeComp extends SimpleComp {
|
||||
hbox.setSpacing(15);
|
||||
|
||||
if (state == null) {
|
||||
var header = new Label("Here you will be able to see where you left off last time you exited XPipe.");
|
||||
var header = new Label("Here you will be able to see where you left off last time.");
|
||||
vbox.getChildren().add(header);
|
||||
hbox.setPadding(new Insets(40, 40, 40, 50));
|
||||
return new VBox(hbox);
|
||||
@@ -69,8 +69,8 @@ public class BrowserWelcomeComp extends SimpleComp {
|
||||
var empty = Bindings.createBooleanBinding(() -> list.isEmpty(), list);
|
||||
|
||||
var header = new LabelComp(Bindings.createStringBinding(() -> {
|
||||
return !empty.get() ? "Last time you were connected to the following systems:" :
|
||||
"Here you will be able to see where you left off last time you exited XPipe.";
|
||||
return !empty.get() ? "You were recently connected to the following systems:" :
|
||||
"Here you will be able to see where you left off last time.";
|
||||
}, empty)).createRegion();
|
||||
header.getStyleClass().add(Styles.TEXT_MUTED);
|
||||
vbox.getChildren().add(header);
|
||||
|
||||
@@ -99,7 +99,7 @@ public class StoreEntryListStatusComp extends SimpleComp {
|
||||
|
||||
f.getStyleClass().add("filter-bar");
|
||||
if (OsType.getLocal().equals(OsType.MACOS)) {
|
||||
f.setPadding(new Insets(0));
|
||||
f.setPadding(new Insets(-2, 0, -2, 0));
|
||||
} else {
|
||||
f.setPadding(new Insets(-3, 0, -3, 0));
|
||||
}
|
||||
@@ -119,7 +119,7 @@ public class StoreEntryListStatusComp extends SimpleComp {
|
||||
menu.setMinWidth(Region.USE_PREF_SIZE);
|
||||
|
||||
if (OsType.getLocal().equals(OsType.MACOS)) {
|
||||
menu.setPadding(new Insets(0));
|
||||
menu.setPadding(new Insets(-2, 0, -2, 0));
|
||||
} else {
|
||||
menu.setPadding(new Insets(-3, 0, -3, 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user