mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-02-19 07:36:42 -05:00
Various ui fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -114,9 +114,7 @@ public abstract class StoreSectionBaseComp extends Comp<CompStructure<VBox>> {
|
||||
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);
|
||||
|
||||
2
lang/strings/translations_da.properties
generated
2
lang/strings/translations_da.properties
generated
@@ -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å
|
||||
|
||||
4
lang/strings/translations_de.properties
generated
4
lang/strings/translations_de.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_en.properties
generated
4
lang/strings/translations_en.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_es.properties
generated
4
lang/strings/translations_es.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_fr.properties
generated
4
lang/strings/translations_fr.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_id.properties
generated
4
lang/strings/translations_id.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_it.properties
generated
4
lang/strings/translations_it.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_ja.properties
generated
4
lang/strings/translations_ja.properties
generated
@@ -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=ホスト上のシェルスクリプトで実行するコマンド。
|
||||
|
||||
4
lang/strings/translations_ko.properties
generated
4
lang/strings/translations_ko.properties
generated
@@ -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=호스트의 셸 스크립트에서 실행할 명령입니다.
|
||||
|
||||
4
lang/strings/translations_nl.properties
generated
4
lang/strings/translations_nl.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_pl.properties
generated
4
lang/strings/translations_pl.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_pt.properties
generated
4
lang/strings/translations_pt.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_ru.properties
generated
4
lang/strings/translations_ru.properties
generated
@@ -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-скрипте на хосте.
|
||||
|
||||
4
lang/strings/translations_sv.properties
generated
4
lang/strings/translations_sv.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_tr.properties
generated
4
lang/strings/translations_tr.properties
generated
@@ -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.
|
||||
|
||||
4
lang/strings/translations_vi.properties
generated
4
lang/strings/translations_vi.properties
generated
@@ -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ủ.
|
||||
|
||||
4
lang/strings/translations_zh-Hant.properties
generated
4
lang/strings/translations_zh-Hant.properties
generated
@@ -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 腳本中要執行的指令。
|
||||
|
||||
Reference in New Issue
Block a user