From 6063e3b092931b5c58d989a3e44ae4e4c0d8fe7f Mon Sep 17 00:00:00 2001 From: crschnick Date: Mon, 1 Jan 2024 14:26:10 +0000 Subject: [PATCH] Small UI improvements --- .../main/java/io/xpipe/app/browser/BrowserWelcomeComp.java | 6 +++--- .../io/xpipe/app/comp/store/StoreEntryListStatusComp.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/browser/BrowserWelcomeComp.java b/app/src/main/java/io/xpipe/app/browser/BrowserWelcomeComp.java index 5824b8dab..c57ed4a3b 100644 --- a/app/src/main/java/io/xpipe/app/browser/BrowserWelcomeComp.java +++ b/app/src/main/java/io/xpipe/app/browser/BrowserWelcomeComp.java @@ -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); diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java index 8a03b5c68..24181a25e 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java @@ -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)); }