diff --git a/app/src/main/java/io/xpipe/app/action/ActionShortcutComp.java b/app/src/main/java/io/xpipe/app/action/ActionShortcutComp.java index b88ba99e3..db35f8da8 100644 --- a/app/src/main/java/io/xpipe/app/action/ActionShortcutComp.java +++ b/app/src/main/java/io/xpipe/app/action/ActionShortcutComp.java @@ -66,10 +66,9 @@ public class ActionShortcutComp extends SimpleComp { .grow(false, true) .descriptor(d -> d.nameKey("copyUrl")); var field = new TextFieldComp(url); - field.grow(true, false); field.apply(struc -> struc.get().setEditable(false)); var group = new InputGroupComp(List.of(field, copyButton)); - group.setMainReference(copyButton); + group.setMainReference(field); group.hide(Bindings.isNull(url)); return group; } @@ -93,9 +92,8 @@ public class ActionShortcutComp extends SimpleComp { .grow(false, true) .descriptor(d -> d.nameKey("createShortcut")); var field = new TextFieldComp(name); - field.grow(true, false); var group = new InputGroupComp(List.of(field, copyButton)); - group.setMainReference(copyButton); + group.setMainReference(field); group.hide(BindingsHelper.map(action, v -> !(v instanceof SerializableAction))); return group; } @@ -114,10 +112,9 @@ public class ActionShortcutComp extends SimpleComp { .grow(false, true) .descriptor(d -> d.nameKey("copyBody")); var field = new TextFieldComp(prop, true); - field.grow(true, false); field.apply(struc -> struc.get().setEditable(false)); var group = new InputGroupComp(List.of(field, copyButton)); - group.setMainReference(copyButton); + group.setMainReference(field); group.hide(BindingsHelper.map(action, v -> !(v instanceof SerializableAction))); return group; } diff --git a/app/src/main/java/io/xpipe/app/browser/file/BrowserHistoryTabComp.java b/app/src/main/java/io/xpipe/app/browser/file/BrowserHistoryTabComp.java index 1bc523a95..dd13f5fd7 100644 --- a/app/src/main/java/io/xpipe/app/browser/file/BrowserHistoryTabComp.java +++ b/app/src/main/java/io/xpipe/app/browser/file/BrowserHistoryTabComp.java @@ -100,7 +100,7 @@ public class BrowserHistoryTabComp extends SimpleComp { model.restoreState(state); actionEvent.consume(); }) - .grow(true, false) + .maxWidth(2000) .descriptor(d -> d.nameKey("restoreAllSessions")); var layout = new VerticalComp(List.of(vbox, Comp.vspacer(5), listBox, Comp.hseparator(), tile)); diff --git a/app/src/main/java/io/xpipe/app/browser/file/BrowserTransferComp.java b/app/src/main/java/io/xpipe/app/browser/file/BrowserTransferComp.java index 0dce35073..ba5dd5dd2 100644 --- a/app/src/main/java/io/xpipe/app/browser/file/BrowserTransferComp.java +++ b/app/src/main/java/io/xpipe/app/browser/file/BrowserTransferComp.java @@ -43,7 +43,6 @@ public class BrowserTransferComp extends SimpleComp { .apply(struc -> struc.get().setContentDisplay(ContentDisplay.TOP)) .visible(model.getEmpty()); var backgroundStack = new StackComp(List.of(background)) - .grow(true, true) .styleClass("color-box") .styleClass("gray") .styleClass("download-background"); diff --git a/app/src/main/java/io/xpipe/app/hub/comp/StoreCategoryComp.java b/app/src/main/java/io/xpipe/app/hub/comp/StoreCategoryComp.java index ffed1ba93..9958afb12 100644 --- a/app/src/main/java/io/xpipe/app/hub/comp/StoreCategoryComp.java +++ b/app/src/main/java/io/xpipe/app/hub/comp/StoreCategoryComp.java @@ -152,7 +152,7 @@ public class StoreCategoryComp extends SimpleComp { .styleClass("category-button") .apply(struc -> hover.bind(struc.get().hoverProperty())) .apply(struc -> focus.bind(struc.get().focusWithinProperty())) - .grow(true, false); + .maxWidth(2000); categoryButton.apply(new ContextMenuAugment<>( mouseEvent -> mouseEvent.getButton() == MouseButton.SECONDARY, keyEvent -> keyEvent.getCode() == KeyCode.SPACE, diff --git a/app/src/main/java/io/xpipe/app/hub/comp/StoreCreationComp.java b/app/src/main/java/io/xpipe/app/hub/comp/StoreCreationComp.java index e07e57468..1db2a6f32 100644 --- a/app/src/main/java/io/xpipe/app/hub/comp/StoreCreationComp.java +++ b/app/src/main/java/io/xpipe/app/hub/comp/StoreCreationComp.java @@ -54,7 +54,7 @@ public class StoreCreationComp extends ModalOverlayContentComp { var layout = new VBox(); layout.getStyleClass().add("store-creator"); var providerChoice = new StoreProviderChoiceComp(model.getFilter(), model.getProvider()); - providerChoice.grow(true, false); + providerChoice.maxWidth(2000); var provider = model.getProvider().getValue() != null ? model.getProvider().getValue() : providerChoice.getProviders().getFirst(); diff --git a/app/src/main/java/io/xpipe/app/hub/comp/StoreSectionBaseComp.java b/app/src/main/java/io/xpipe/app/hub/comp/StoreSectionBaseComp.java index 8028fffe6..120214f25 100644 --- a/app/src/main/java/io/xpipe/app/hub/comp/StoreSectionBaseComp.java +++ b/app/src/main/java/io/xpipe/app/hub/comp/StoreSectionBaseComp.java @@ -114,9 +114,7 @@ public abstract class StoreSectionBaseComp extends Comp> { var content = new ListBoxViewComp<>( section.getShownChildren().getList(), section.getAllChildren().getList(), - (StoreSection e) -> { - return function.apply(e).grow(true, false); - }, + function, section.getWrapper() == null); content.setVisibilityControl(true); content.minHeight(0); diff --git a/lang/strings/translations_da.properties b/lang/strings/translations_da.properties index f366d9799..3e047954c 100644 --- a/lang/strings/translations_da.properties +++ b/lang/strings/translations_da.properties @@ -1002,7 +1002,7 @@ sshConfigHost.displayDescription=Forbind til en vært, der er defineret i en SSH sshConfigHost.password=Adgangskode #custom sshConfigHost.passwordDescription=Angiv adgangskoden til brugerlogin. -sshConfigHost.identityPassphrase=Identitets-passphrase +sshConfigHost.identityPassphrase=Nøgle-passphrase #custom sshConfigHost.identityPassphraseDescription=Angiv adgangsætningen for din identitetsnøgle. shellCommand.hostDescription=Værten, som kommandoen skal udføres på diff --git a/lang/strings/translations_de.properties b/lang/strings/translations_de.properties index a9fed7d0c..5d293b540 100644 --- a/lang/strings/translations_de.properties +++ b/lang/strings/translations_de.properties @@ -998,8 +998,8 @@ sshConfigHost.displayName=SSH-Konfigurationsdatei Host sshConfigHost.displayDescription=Verbindung zu einem in einer SSH-Konfigurationsdatei definierten Host sshConfigHost.password=Passwort sshConfigHost.passwordDescription=Geben Sie das optionale Passwort für die Benutzeranmeldung an. -sshConfigHost.identityPassphrase=Identitäts-Passphrase -sshConfigHost.identityPassphraseDescription=Gib die optionale Passphrase für deinen Identitätsschlüssel an. +sshConfigHost.identityPassphrase=Schlüssel-Passphrase +sshConfigHost.identityPassphraseDescription=Gib die optionale Passphrase für deinen Schlüssel an. shellCommand.hostDescription=Der Host, auf dem der Befehl ausgeführt werden soll shellCommand.commandDescription=Der Befehl, der eine Shell öffnet commandDescription=Die Befehle, die in einem Shell-Skript auf dem Host ausgeführt werden sollen. diff --git a/lang/strings/translations_en.properties b/lang/strings/translations_en.properties index ad9cb4746..63a47164d 100644 --- a/lang/strings/translations_en.properties +++ b/lang/strings/translations_en.properties @@ -1013,8 +1013,8 @@ sshConfigHost.displayName=SSH config file host sshConfigHost.displayDescription=Connect to a host defined in an SSH config file sshConfigHost.password=Password sshConfigHost.passwordDescription=Provide the optional password for the user login. -sshConfigHost.identityPassphrase=Identity passphrase -sshConfigHost.identityPassphraseDescription=Provide the optional passphrase for your identity key. +sshConfigHost.identityPassphrase=Key passphrase +sshConfigHost.identityPassphraseDescription=Provide the optional passphrase for your key. shellCommand.hostDescription=The host to execute the command on shellCommand.commandDescription=The command that will open a shell commandDescription=The commands to execute in a shell script on the host. diff --git a/lang/strings/translations_es.properties b/lang/strings/translations_es.properties index 76399ebf3..352e621fa 100644 --- a/lang/strings/translations_es.properties +++ b/lang/strings/translations_es.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=Archivo de configuración SSH host sshConfigHost.displayDescription=Conectarse a un host definido en un archivo de configuración SSH sshConfigHost.password=Contraseña sshConfigHost.passwordDescription=Proporciona la contraseña opcional para el inicio de sesión del usuario. -sshConfigHost.identityPassphrase=Frase de contraseña de identidad -sshConfigHost.identityPassphraseDescription=Proporciona la frase de contraseña opcional para tu clave de identidad. +sshConfigHost.identityPassphrase=Frase clave +sshConfigHost.identityPassphraseDescription=Proporciona la frase de contraseña opcional para tu clave. shellCommand.hostDescription=El host en el que ejecutar el comando shellCommand.commandDescription=El comando que abrirá un intérprete de comandos commandDescription=Los comandos a ejecutar en un script de shell en el host. diff --git a/lang/strings/translations_fr.properties b/lang/strings/translations_fr.properties index 0af6d9886..3a7e6efdf 100644 --- a/lang/strings/translations_fr.properties +++ b/lang/strings/translations_fr.properties @@ -997,8 +997,8 @@ sshConfigHost.displayName=Fichier de configuration SSH hôte sshConfigHost.displayDescription=Se connecter à un hôte défini dans un fichier de configuration SSH sshConfigHost.password=Mot de passe sshConfigHost.passwordDescription=Fournis le mot de passe facultatif pour la connexion de l'utilisateur. -sshConfigHost.identityPassphrase=Phrase d'identité -sshConfigHost.identityPassphraseDescription=Indique la phrase de passe facultative pour ta clé d'identité. +sshConfigHost.identityPassphrase=Phrase de passe de la clé +sshConfigHost.identityPassphraseDescription=Indique la phrase de passe facultative pour ta clé. shellCommand.hostDescription=L'hôte sur lequel exécuter la commande shellCommand.commandDescription=La commande qui ouvre un shell commandDescription=Les commandes à exécuter dans un script shell sur l'hôte. diff --git a/lang/strings/translations_id.properties b/lang/strings/translations_id.properties index 39d2d4fd7..0ea8cc29b 100644 --- a/lang/strings/translations_id.properties +++ b/lang/strings/translations_id.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=Host file konfigurasi SSH sshConfigHost.displayDescription=Menyambung ke host yang ditentukan dalam file konfigurasi SSH sshConfigHost.password=Kata sandi sshConfigHost.passwordDescription=Berikan kata sandi opsional untuk login pengguna. -sshConfigHost.identityPassphrase=Frasa sandi identitas -sshConfigHost.identityPassphraseDescription=Berikan frasa sandi opsional untuk kunci identitas Anda. +sshConfigHost.identityPassphrase=Kata sandi kunci +sshConfigHost.identityPassphraseDescription=Berikan frasa sandi opsional untuk kunci Anda. shellCommand.hostDescription=Host untuk menjalankan perintah pada shellCommand.commandDescription=Perintah yang akan membuka shell commandDescription=Perintah untuk menjalankan skrip shell pada host. diff --git a/lang/strings/translations_it.properties b/lang/strings/translations_it.properties index 8a7a7d59b..d8358673f 100644 --- a/lang/strings/translations_it.properties +++ b/lang/strings/translations_it.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=File di configurazione SSH host sshConfigHost.displayDescription=Connettersi a un host definito in un file di configurazione SSH sshConfigHost.password=Password sshConfigHost.passwordDescription=Fornisce la password opzionale per il login dell'utente. -sshConfigHost.identityPassphrase=Passphrase di identità -sshConfigHost.identityPassphraseDescription=Fornisci la passphrase opzionale per la tua chiave di identità. +sshConfigHost.identityPassphrase=Passphrase chiave +sshConfigHost.identityPassphraseDescription=Fornisci la passphrase opzionale per la tua chiave. shellCommand.hostDescription=L'host su cui eseguire il comando shellCommand.commandDescription=Il comando che apre una shell commandDescription=I comandi da eseguire in uno script di shell sull'host. diff --git a/lang/strings/translations_ja.properties b/lang/strings/translations_ja.properties index 483c10920..d59e2dd99 100644 --- a/lang/strings/translations_ja.properties +++ b/lang/strings/translations_ja.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=SSH設定ファイルホスト sshConfigHost.displayDescription=SSHコンフィグファイルで定義されたホストに接続する sshConfigHost.password=パスワード sshConfigHost.passwordDescription=ユーザーログイン用の任意のパスワードを入力する。 -sshConfigHost.identityPassphrase=IDパスフレーズ -sshConfigHost.identityPassphraseDescription=IDキーのパスフレーズ(オプション)を入力する。 +sshConfigHost.identityPassphrase=キーのパスフレーズ +sshConfigHost.identityPassphraseDescription=鍵のパスフレーズ(オプション)を入力する。 shellCommand.hostDescription=コマンドを実行するホスト shellCommand.commandDescription=シェルを開くコマンド commandDescription=ホスト上のシェルスクリプトで実行するコマンド。 diff --git a/lang/strings/translations_ko.properties b/lang/strings/translations_ko.properties index e093d4e98..a4071c90a 100644 --- a/lang/strings/translations_ko.properties +++ b/lang/strings/translations_ko.properties @@ -998,8 +998,8 @@ sshConfigHost.displayName=SSH 구성 파일 호스트 sshConfigHost.displayDescription=SSH 구성 파일에 정의된 호스트에 연결합니다 sshConfigHost.password=비밀번호 sshConfigHost.passwordDescription=사용자 로그인을 위한 비밀번호(선택 사항)를 입력합니다. -sshConfigHost.identityPassphrase=신원 암호 -sshConfigHost.identityPassphraseDescription=ID 키의 비밀번호(선택 사항)를 입력합니다. +sshConfigHost.identityPassphrase=키 암호 문구 +sshConfigHost.identityPassphraseDescription=키에 대한 선택적 암호 문구를 입력합니다. shellCommand.hostDescription=명령을 실행할 호스트 shellCommand.commandDescription=셸을 여는 명령 commandDescription=호스트의 셸 스크립트에서 실행할 명령입니다. diff --git a/lang/strings/translations_nl.properties b/lang/strings/translations_nl.properties index b83b18253..da4871487 100644 --- a/lang/strings/translations_nl.properties +++ b/lang/strings/translations_nl.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=SSH config bestand host sshConfigHost.displayDescription=Verbinding maken met een host gedefinieerd in een SSH config bestand sshConfigHost.password=Wachtwoord sshConfigHost.passwordDescription=Geef het optionele wachtwoord voor het inloggen van de gebruiker. -sshConfigHost.identityPassphrase=Identiteitspaswoord -sshConfigHost.identityPassphraseDescription=Geef de optionele wachtwoordzin voor je identiteitsleutel. +sshConfigHost.identityPassphrase=Sleutel wachtwoordzin +sshConfigHost.identityPassphraseDescription=Geef de optionele wachtwoordzin voor je sleutel op. shellCommand.hostDescription=De host waarop het commando moet worden uitgevoerd shellCommand.commandDescription=Het commando dat een shell opent commandDescription=De commando's om uit te voeren in een shellscript op de host. diff --git a/lang/strings/translations_pl.properties b/lang/strings/translations_pl.properties index b94bbb2ee..6eaaa2191 100644 --- a/lang/strings/translations_pl.properties +++ b/lang/strings/translations_pl.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=Host pliku konfiguracyjnego SSH sshConfigHost.displayDescription=Połącz się z hostem zdefiniowanym w pliku konfiguracyjnym SSH sshConfigHost.password=Hasło sshConfigHost.passwordDescription=Podaj opcjonalne hasło do logowania użytkownika. -sshConfigHost.identityPassphrase=Hasło tożsamości -sshConfigHost.identityPassphraseDescription=Podaj opcjonalne hasło dla klucza tożsamości. +sshConfigHost.identityPassphrase=Kluczowe hasło +sshConfigHost.identityPassphraseDescription=Podaj opcjonalne hasło dla swojego klucza. shellCommand.hostDescription=Host, na którym ma zostać wykonane polecenie shellCommand.commandDescription=Polecenie, które otworzy powłokę commandDescription=Polecenia do wykonania w skrypcie powłoki na hoście. diff --git a/lang/strings/translations_pt.properties b/lang/strings/translations_pt.properties index 74c002163..625b79c1c 100644 --- a/lang/strings/translations_pt.properties +++ b/lang/strings/translations_pt.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=Anfitrião do ficheiro de configuração SSH sshConfigHost.displayDescription=Liga-te a um anfitrião definido num ficheiro de configuração SSH sshConfigHost.password=Palavra-passe sshConfigHost.passwordDescription=Fornece a palavra-passe opcional para o início de sessão do utilizador. -sshConfigHost.identityPassphrase=Palavra-passe de identidade -sshConfigHost.identityPassphraseDescription=Fornece a frase-passe opcional para a tua chave de identidade. +sshConfigHost.identityPassphrase=Frase-chave +sshConfigHost.identityPassphraseDescription=Fornece a frase-passe opcional para a tua chave. shellCommand.hostDescription=O anfitrião para executar o comando em shellCommand.commandDescription=O comando que abre uma shell commandDescription=Os comandos a executar num script de shell no anfitrião. diff --git a/lang/strings/translations_ru.properties b/lang/strings/translations_ru.properties index 30de6b4bb..69393f494 100644 --- a/lang/strings/translations_ru.properties +++ b/lang/strings/translations_ru.properties @@ -1057,8 +1057,8 @@ sshConfigHost.displayName=SSH файл конфигурации хоста sshConfigHost.displayDescription=Подключение к хосту, заданному в конфигурационном файле SSH sshConfigHost.password=Пароль sshConfigHost.passwordDescription=Укажи необязательный пароль для входа пользователя в систему. -sshConfigHost.identityPassphrase=Пассфраза идентификации -sshConfigHost.identityPassphraseDescription=Укажи необязательную ключевую фразу для своего идентификационного ключа. +sshConfigHost.identityPassphrase=Ключевая фраза +sshConfigHost.identityPassphraseDescription=Укажи необязательную ключевую фразу для своего ключа. shellCommand.hostDescription=Хост, на котором нужно выполнить команду shellCommand.commandDescription=Команда, которая открывает оболочку commandDescription=Команды, которые нужно выполнить в shell-скрипте на хосте. diff --git a/lang/strings/translations_sv.properties b/lang/strings/translations_sv.properties index 9c2a00af0..dc4dda493 100644 --- a/lang/strings/translations_sv.properties +++ b/lang/strings/translations_sv.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=SSH konfigurationsfil värd sshConfigHost.displayDescription=Ansluta till en värd som definieras i en SSH-konfigurationsfil sshConfigHost.password=Lösenord sshConfigHost.passwordDescription=Ange det valfria lösenordet för användarinloggningen. -sshConfigHost.identityPassphrase=Lösenfras för identitet -sshConfigHost.identityPassphraseDescription=Ange den valfria lösenfrasen för din identitetsnyckel. +sshConfigHost.identityPassphrase=Nyckel lösenordsfras +sshConfigHost.identityPassphraseDescription=Ange den valfria lösenfrasen för din nyckel. shellCommand.hostDescription=Värden att utföra kommandot på shellCommand.commandDescription=Kommandot som öppnar ett skal commandDescription=Kommandon som ska köras i ett shell-skript på värden. diff --git a/lang/strings/translations_tr.properties b/lang/strings/translations_tr.properties index eabee1a7e..847311575 100644 --- a/lang/strings/translations_tr.properties +++ b/lang/strings/translations_tr.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=SSH yapılandırma dosyası ana bilgisayarı sshConfigHost.displayDescription=SSH yapılandırma dosyasında tanımlanan bir ana bilgisayara bağlanma sshConfigHost.password=Şifre sshConfigHost.passwordDescription=Kullanıcı girişi için isteğe bağlı parolayı girin. -sshConfigHost.identityPassphrase=Kimlik parolası -sshConfigHost.identityPassphraseDescription=Kimlik anahtarınız için isteğe bağlı parolayı girin. +sshConfigHost.identityPassphrase=Anahtar parolası +sshConfigHost.identityPassphraseDescription=Anahtarınız için isteğe bağlı parolayı girin. shellCommand.hostDescription=Komutun çalıştırılacağı ana bilgisayar shellCommand.commandDescription=Bir kabuk açacak komut commandDescription=Ana bilgisayarda bir kabuk komut dosyasında yürütülecek komutlar. diff --git a/lang/strings/translations_vi.properties b/lang/strings/translations_vi.properties index 8c260b481..38202710b 100644 --- a/lang/strings/translations_vi.properties +++ b/lang/strings/translations_vi.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=Tệp cấu hình SSH cho máy chủ sshConfigHost.displayDescription=Kết nối với một máy chủ được định nghĩa trong tệp cấu hình SSH sshConfigHost.password=Mật khẩu sshConfigHost.passwordDescription=Nhập mật khẩu tùy chọn cho việc đăng nhập của người dùng. -sshConfigHost.identityPassphrase=Mật khẩu xác thực -sshConfigHost.identityPassphraseDescription=Nhập mật khẩu tùy chọn cho khóa nhận dạng của cậu. +sshConfigHost.identityPassphrase=Mật khẩu chính +sshConfigHost.identityPassphraseDescription=Nhập mật khẩu tùy chọn cho khóa của cậu. shellCommand.hostDescription=Máy chủ để thực thi lệnh shellCommand.commandDescription=Lệnh sẽ mở một cửa sổ lệnh commandDescription=Các lệnh cần thực thi trong một tập lệnh shell trên máy chủ. diff --git a/lang/strings/translations_zh-Hant.properties b/lang/strings/translations_zh-Hant.properties index 42f04ce61..7288f45b8 100644 --- a/lang/strings/translations_zh-Hant.properties +++ b/lang/strings/translations_zh-Hant.properties @@ -969,8 +969,8 @@ sshConfigHost.displayName=SSH 配置檔案主機 sshConfigHost.displayDescription=連接至 SSH 配置檔案中定義的主機 sshConfigHost.password=密碼 sshConfigHost.passwordDescription=提供使用者登入的選用密碼。 -sshConfigHost.identityPassphrase=身分密碼 -sshConfigHost.identityPassphraseDescription=提供身份鑰匙的選用密碼。 +sshConfigHost.identityPassphrase=金鑰密碼 +sshConfigHost.identityPassphraseDescription=提供金鑰的選用密碼。 shellCommand.hostDescription=執行指令的主機 shellCommand.commandDescription=開啟 shell 的指令 commandDescription=主機上 shell 腳本中要執行的指令。