From 6152cab494335f50b00b805a4404c48ff82ff372 Mon Sep 17 00:00:00 2001 From: Miheichev Aleksandr Sergeevich Date: Mon, 5 Oct 2026 08:27:19 +0000 Subject: [PATCH] fix(ui): make cut-off button labels and input hints readable (#10292) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(ui): let update and backup buttons fit their labels The update dialog gives its two buttons a fixed 100 px width, and the backup view puts its buttons in a fixed 200 px grid column, so longer labels are cut off, for example "Only Chec", "Check and" and "Backup to remote (WebD" in English. Use MinWidth="100" for the update buttons and an Auto column with MinWidth="200" for the backup buttons: short labels keep their current size and long ones fit. The "Automatic update interval (minutes)" label of the subscription window is cut off the same way between the switch and the interval field, so let it wrap. * fix(ui): show cut-off input hints as tooltips The hints of the previous and next proxy remarks fields in the subscription window and of the server and log filters are wider than their fields, so their end is cut off and there is no way to read it. Show the same text as a tooltip, as the custom config socks port field of the subscription window already does. * fix(ui): let dialog buttons and backup labels fit longer translations The Confirm and Cancel buttons of the editing and settings windows, and the Reset button of the hotkey window, have a fixed 100 px width, and the backup view puts its labels in a fixed 300 px column. Translations longer than the English text are cut off there: the Russian "Подтвердить" reads "Подтверди", and "Резервное копирование на удалённый сервер (WebDAV)" loses its end. Use MinWidth="100" for these buttons, as the message box already does with MinWidth="90", and an Auto label column with MinWidth="300". --- .../Views/AddGroupServerWindow.axaml | 4 ++-- .../Views/AddServer2Window.axaml | 4 ++-- .../v2rayN.Desktop/Views/AddServerWindow.axaml | 4 ++-- .../Views/BackupAndRestoreView.axaml | 18 ++++++++++-------- .../v2rayN.Desktop/Views/CheckUpdateView.axaml | 4 ++-- .../Views/DNSSettingWindow.axaml | 4 ++-- .../Views/FullConfigTemplateWindow.axaml | 4 ++-- .../Views/GlobalHotkeySettingWindow.axaml | 6 +++--- v2rayN/v2rayN.Desktop/Views/MsgView.axaml | 3 ++- .../Views/OptionSettingWindow.axaml | 4 ++-- .../Views/ProfilesSelectWindow.axaml | 7 ++++--- v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml | 3 ++- .../Views/RoutingRuleDetailsWindow.axaml | 4 ++-- .../Views/RoutingRuleSettingWindow.axaml | 4 ++-- .../v2rayN.Desktop/Views/SubEditWindow.axaml | 13 ++++++++----- .../Views/SudoPasswordInputView.axaml | 4 ++-- v2rayN/v2rayN/Views/AddGroupServerWindow.xaml | 4 ++-- v2rayN/v2rayN/Views/AddServer2Window.xaml | 4 ++-- v2rayN/v2rayN/Views/AddServerWindow.xaml | 4 ++-- v2rayN/v2rayN/Views/BackupAndRestoreView.xaml | 8 ++++---- v2rayN/v2rayN/Views/CheckUpdateView.xaml | 4 ++-- v2rayN/v2rayN/Views/DNSSettingWindow.xaml | 4 ++-- .../v2rayN/Views/FullConfigTemplateWindow.xaml | 4 ++-- .../Views/GlobalHotkeySettingWindow.xaml | 6 +++--- v2rayN/v2rayN/Views/MsgView.xaml | 3 ++- v2rayN/v2rayN/Views/OptionSettingWindow.xaml | 4 ++-- v2rayN/v2rayN/Views/ProfilesSelectWindow.xaml | 7 ++++--- v2rayN/v2rayN/Views/ProfilesView.xaml | 3 ++- .../v2rayN/Views/RoutingRuleDetailsWindow.xaml | 4 ++-- .../v2rayN/Views/RoutingRuleSettingWindow.xaml | 4 ++-- v2rayN/v2rayN/Views/SubEditWindow.xaml | 13 ++++++++----- 31 files changed, 90 insertions(+), 76 deletions(-) diff --git a/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml b/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml index 82b15b77..b71e499d 100644 --- a/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml @@ -24,12 +24,12 @@ Orientation="Horizontal">