diff --git a/HellionChat/Configuration.cs b/HellionChat/Configuration.cs index dcbacaa..02a0c9f 100755 --- a/HellionChat/Configuration.cs +++ b/HellionChat/Configuration.cs @@ -47,14 +47,14 @@ public class Configuration : IPluginConfiguration // Background opacity of the main chat window while unfocused. // WindowOpacity above stays the focused value. - public float WindowOpacityInactive = 0.65f; + public float WindowOpacityInactive = 0.75f; // Reserved for future UI toggles; pre-declared to avoid a migration later. public bool ReduceMotion; // v1.2.1: default flipped false → true. Compact single-line layout is // more readable than the card-rows layout introduced in v1.2.0. - public bool UseCompactDensity = true; + public bool UseCompactDensity; // Privacy by Default master switch. Set false to restore upstream behaviour. public bool PrivacyFilterEnabled = true; @@ -145,21 +145,29 @@ public class Configuration : IPluginConfiguration // who don't care, and dodges the per-frame DrawList overhead on low-end // hardware. Gradient (Color3 / GradientColourSet) is parsed but rendered // as the primary Color until a later cycle ports the animation. - public bool ShowHonorificGlow; + public bool ShowHonorificGlow = true; public bool EnableAutoTellTabs = true; public int AutoTellTabsLimit = 15; - public bool AutoTellTabsCompactDisplay; - public int AutoTellTabsHistoryPreload = 20; + public bool AutoTellTabsCompactDisplay = true; + public int AutoTellTabsHistoryPreload = 100; - // Sidebar width in pixels. Default 44 mirrors the icon-only layout from - // v1.2.0; users can widen up to 160 to fit a section-header line like - // "Active Tells (3)" without truncation. - public int SidebarWidth = 44; + // Expanded sidebar width in pixels. 44 was carried over from the v1.2.0 + // icon-only layout and stayed the default long after the sidebar started + // drawing labels beside those icons, so every tab name came out clipped -- + // it only went unnoticed because everyone had widened it by hand. 160 fits + // the German tab names, which are the longest of the 25 languages, and the + // floor below is set where they stop being readable rather than where the + // icons stop fitting. + public int SidebarWidth = 160; public bool AutoTellTabsShowGreetedToggle; public bool SeenPopOutInputHint; public bool PopOutInputEnabled = true; public bool SeenPopOutHeaderHint; - public bool AutoTellTabsOpenAsPopout; + + // On by default: the wizard's closing step tells the user to try /tell and + // watch a conversation open on its own, so the behaviour it describes has to + // be the behaviour they get. + public bool AutoTellTabsOpenAsPopout = true; // How sender names are rendered in the chat log. public WorldSuffixMode WorldSuffixMode = WorldSuffixMode.OtherWorldOnly; @@ -194,7 +202,7 @@ public class Configuration : IPluginConfiguration // resource sets disagree on what PrettierTimestamps even means -- the wizard // called it "relative time", the settings tab "modern layout". public bool PrettierTimestamps = true; - public bool MoreCompactPretty; + public bool MoreCompactPretty = true; public bool HideSameTimestamps = true; // No reader; see the reconnect backlog. @@ -211,12 +219,12 @@ public class Configuration : IPluginConfiguration public bool OnlyPreviewIf; public int PreviewMinimum = 1; public PreviewPosition PreviewPosition = PreviewPosition.Inside; - public CommandHelpSide CommandHelpSide = CommandHelpSide.None; + public CommandHelpSide CommandHelpSide = CommandHelpSide.Right; public KeybindMode KeybindMode = KeybindMode.Strict; public LanguageOverride LanguageOverride = LanguageOverride.None; public bool CanMove = true; public bool CanResize = true; - public bool ShowTitleBar = true; + public bool ShowTitleBar; public bool ShowPopOutTitleBar = true; public bool DatabaseBattleMessages; public bool FilterIncludePreviousSessions; @@ -944,6 +952,39 @@ public static class LanguageOverrideExt // Mutable.ExtraGlyphRanges so users do not need to know which range // to tick manually. Returns 0 for locales fully covered by the default // ImGui glyph range (Latin-1) or by the separate Japanese font handle. + // The same mapping keyed by culture code, for when the language override is + // None and the UI follows Dalamud. Without this the ranges only ever get + // filled by an explicit language pick -- installs that never touched the + // setting rendered their own locale in whatever the default range covers, + // which for Korean, Chinese, Cyrillic and Greek is boxes. It went unnoticed + // while configs accumulated ranges over time; a fresh config has none. + public static ExtraGlyphRanges RequiredGlyphRangesForCulture(string? cultureCode) + { + var code = (cultureCode ?? string.Empty).ToLowerInvariant(); + + // Longest first: zh-hant has to win over the zh prefix. + if (code.StartsWith("zh-hant") || code.StartsWith("zh-tw") || code.StartsWith("zh-hk")) + return ExtraGlyphRanges.ChineseFull; + if (code.StartsWith("zh")) + return ExtraGlyphRanges.ChineseSimplifiedCommon; + if (code.StartsWith("ko")) + return ExtraGlyphRanges.Korean; + if (code.StartsWith("uk") || code.StartsWith("ru") || code.StartsWith("be")) + return ExtraGlyphRanges.Cyrillic; + if (code.StartsWith("el")) + return ExtraGlyphRanges.Greek; + if ( + code.StartsWith("cs") + || code.StartsWith("pl") + || code.StartsWith("ro") + || code.StartsWith("hu") + || code.StartsWith("tr") + ) + return ExtraGlyphRanges.LatinExtended; + + return 0; + } + public static ExtraGlyphRanges RequiredGlyphRanges(this LanguageOverride mode) => mode switch { diff --git a/HellionChat/Plugin.cs b/HellionChat/Plugin.cs index 2701c1f..dea9032 100755 --- a/HellionChat/Plugin.cs +++ b/HellionChat/Plugin.cs @@ -413,7 +413,10 @@ public sealed class Plugin : IAsyncDalamudPlugin // that path. ORing in the required flag here lets the first atlas // build pick it up, so an upgrade from v1.5.2 renders correctly // without forcing the user to toggle the language twice. - var requiredRanges = Config.LanguageOverride.RequiredGlyphRanges(); + var requiredRanges = + Config.LanguageOverride is LanguageOverride.None + ? LanguageOverrideExt.RequiredGlyphRangesForCulture(Interface.UiLanguage) + : Config.LanguageOverride.RequiredGlyphRanges(); if (requiredRanges != 0 && !Config.ExtraGlyphRanges.HasFlag(requiredRanges)) Config.ExtraGlyphRanges |= requiredRanges; diff --git a/HellionChat/Resources/HellionStrings.ca.resx b/HellionChat/Resources/HellionStrings.ca.resx index 12f27d6..fed51c2 100644 --- a/HellionChat/Resources/HellionStrings.ca.resx +++ b/HellionChat/Resources/HellionStrings.ca.resx @@ -304,7 +304,7 @@ (sense canvis) - 💡 Prova-ho: escriu /tell <Nom del jugador> al xat. Hellion Chat obre una pestanya dedicada per a la conversa i precarrega els últims {0} missatges. + Prova-ho: escriu /tell <Nom del jugador> al xat. Hellion Chat obre una pestanya dedicada per a la conversa i precarrega els últims {0} missatges. Configuració → Hellion Chat per ajustar-ho més tard diff --git a/HellionChat/Resources/HellionStrings.cs.resx b/HellionChat/Resources/HellionStrings.cs.resx index f8de5ac..783b971 100644 --- a/HellionChat/Resources/HellionStrings.cs.resx +++ b/HellionChat/Resources/HellionStrings.cs.resx @@ -304,7 +304,7 @@ (beze změny) - 💡 Vyzkoušej: napiš /tell <Jméno hráče> do chatu. Hellion Chat automaticky otevře vlastní záložku pro konverzaci a přednačte posledních {0} zpráv. + Vyzkoušej: napiš /tell <Jméno hráče> do chatu. Hellion Chat automaticky otevře vlastní záložku pro konverzaci a přednačte posledních {0} zpráv. Nastavení → Hellion Chat pro pozdější doladění diff --git a/HellionChat/Resources/HellionStrings.da.resx b/HellionChat/Resources/HellionStrings.da.resx index 7516fd3..5f7e648 100644 --- a/HellionChat/Resources/HellionStrings.da.resx +++ b/HellionChat/Resources/HellionStrings.da.resx @@ -304,7 +304,7 @@ (uændret) - 💡 Prøv det: skriv /tell <Spillernavn> i chatten. Hellion Chat åbner en dedikeret tab til samtalen og forudindlæser de sidste {0} beskeder. + Prøv det: skriv /tell <Spillernavn> i chatten. Hellion Chat åbner en dedikeret tab til samtalen og forudindlæser de sidste {0} beskeder. Indstillinger → Hellion Chat for at finjustere senere diff --git a/HellionChat/Resources/HellionStrings.de.resx b/HellionChat/Resources/HellionStrings.de.resx index 12f4d50..8484335 100644 --- a/HellionChat/Resources/HellionStrings.de.resx +++ b/HellionChat/Resources/HellionStrings.de.resx @@ -304,7 +304,7 @@ (unverändert) - 💡 Probier's aus: Tipp /tell <Spielername> in den Chat. Hellion Chat öffnet automatisch einen eigenen Tab für die Unterhaltung und lädt die letzten {0} Messages mit. + Probier's aus: Tipp /tell <Spielername> in den Chat. Hellion Chat öffnet automatisch einen eigenen Tab für die Unterhaltung und lädt die letzten {0} Messages mit. Einstellungen → Hellion Chat zum späteren Anpassen diff --git a/HellionChat/Resources/HellionStrings.el.resx b/HellionChat/Resources/HellionStrings.el.resx index a26922e..294ca5e 100644 --- a/HellionChat/Resources/HellionStrings.el.resx +++ b/HellionChat/Resources/HellionStrings.el.resx @@ -304,7 +304,7 @@ (αμετάβλητο) - 💡 Δοκίμασέ το: πληκτρολόγησε /tell <Όνομα Παίκτη> στο chat. Το Hellion Chat ανοίγει αυτόματα μια αποκλειστική καρτέλα για τη συνομιλία και προφορτώνει τα τελευταία {0} μηνύματα. + Δοκίμασέ το: πληκτρολόγησε /tell <Όνομα Παίκτη> στο chat. Το Hellion Chat ανοίγει αυτόματα μια αποκλειστική καρτέλα για τη συνομιλία και προφορτώνει τα τελευταία {0} μηνύματα. Ρυθμίσεις → Hellion Chat για προσαρμογή αργότερα diff --git a/HellionChat/Resources/HellionStrings.es.resx b/HellionChat/Resources/HellionStrings.es.resx index b2398c8..b60515f 100644 --- a/HellionChat/Resources/HellionStrings.es.resx +++ b/HellionChat/Resources/HellionStrings.es.resx @@ -304,7 +304,7 @@ (sin cambios) - 💡 Pruébalo: escribe /tell <Nombre del jugador> en el chat. Hellion Chat abre una pestaña dedicada para la conversación y precarga los últimos {0} mensajes. + Pruébalo: escribe /tell <Nombre del jugador> en el chat. Hellion Chat abre una pestaña dedicada para la conversación y precarga los últimos {0} mensajes. Ajustes → Hellion Chat para personalizar más tarde diff --git a/HellionChat/Resources/HellionStrings.fi.resx b/HellionChat/Resources/HellionStrings.fi.resx index 09d2f2c..2de9366 100644 --- a/HellionChat/Resources/HellionStrings.fi.resx +++ b/HellionChat/Resources/HellionStrings.fi.resx @@ -304,7 +304,7 @@ (ei muutosta) - 💡 Kokeile: kirjoita /tell <Pelaajan nimi> chattiin. Hellion Chat avaa erillisen välilehden keskustelulle ja esivalmistelee viimeiset {0} viestiä. + Kokeile: kirjoita /tell <Pelaajan nimi> chattiin. Hellion Chat avaa erillisen välilehden keskustelulle ja esivalmistelee viimeiset {0} viestiä. Asetukset → Hellion Chat hienosäätöä varten myöhemmin diff --git a/HellionChat/Resources/HellionStrings.fr.resx b/HellionChat/Resources/HellionStrings.fr.resx index dae4a98..7a58f98 100644 --- a/HellionChat/Resources/HellionStrings.fr.resx +++ b/HellionChat/Resources/HellionStrings.fr.resx @@ -304,7 +304,7 @@ (inchangé) - 💡 Essayez : tapez /tell <Nom du joueur> dans le chat. Hellion Chat ouvre un onglet dédié à la conversation et précharge les {0} derniers messages. + Essayez : tapez /tell <Nom du joueur> dans le chat. Hellion Chat ouvre un onglet dédié à la conversation et précharge les {0} derniers messages. Paramètres → Hellion Chat pour affiner plus tard diff --git a/HellionChat/Resources/HellionStrings.hu.resx b/HellionChat/Resources/HellionStrings.hu.resx index e957ce9..90cdf6c 100644 --- a/HellionChat/Resources/HellionStrings.hu.resx +++ b/HellionChat/Resources/HellionStrings.hu.resx @@ -304,7 +304,7 @@ (változatlan) - 💡 Próbáld ki: írj /tell <Játékosnév> a chatbe. A Hellion Chat automatikusan megnyit egy külön fület a beszélgetéshez, és előtölti az utolsó {0} üzenetet. + Próbáld ki: írj /tell <Játékosnév> a chatbe. A Hellion Chat automatikusan megnyit egy külön fület a beszélgetéshez, és előtölti az utolsó {0} üzenetet. Beállítások → Hellion Chat a finomhangoláshoz diff --git a/HellionChat/Resources/HellionStrings.it.resx b/HellionChat/Resources/HellionStrings.it.resx index 9bcee0b..c823dc8 100644 --- a/HellionChat/Resources/HellionStrings.it.resx +++ b/HellionChat/Resources/HellionStrings.it.resx @@ -304,7 +304,7 @@ (invariato) - 💡 Provalo: digita /tell <Nome Giocatore> in chat. Hellion Chat apre un tab dedicato alla conversazione e precarica gli ultimi {0} messaggi. + Provalo: digita /tell <Nome Giocatore> in chat. Hellion Chat apre un tab dedicato alla conversazione e precarica gli ultimi {0} messaggi. Impostazioni → Hellion Chat per regolazioni successive diff --git a/HellionChat/Resources/HellionStrings.ja.resx b/HellionChat/Resources/HellionStrings.ja.resx index 55aff0c..e27e937 100644 --- a/HellionChat/Resources/HellionStrings.ja.resx +++ b/HellionChat/Resources/HellionStrings.ja.resx @@ -304,7 +304,7 @@ (変更なし) - 💡 試してみましょう: チャットに /tell <プレイヤー名> と入力してください。Hellion Chat が会話専用のタブを自動で開き、最新 {0} 件のメッセージをプリロードします。 + 試してみましょう: チャットに /tell <プレイヤー名> と入力してください。Hellion Chat が会話専用のタブを自動で開き、最新 {0} 件のメッセージをプリロードします。 設定 → Hellion Chat で後から細かく調整できます diff --git a/HellionChat/Resources/HellionStrings.ko.resx b/HellionChat/Resources/HellionStrings.ko.resx index 5f1b593..0d4866f 100644 --- a/HellionChat/Resources/HellionStrings.ko.resx +++ b/HellionChat/Resources/HellionStrings.ko.resx @@ -304,7 +304,7 @@ (변경 없음) - 💡 테스트해보세요. 채팅창에 /tell <Player Name>을 입력하면 Hellion Chat이 대화를 위한 전용 탭을 열고 마지막 {0}개의 메시지를 미리 불러옵니다. + 테스트해보세요. 채팅창에 /tell <Player Name>을 입력하면 Hellion Chat이 대화를 위한 전용 탭을 열고 마지막 {0}개의 메시지를 미리 불러옵니다. 나중에 세부 조정은 설정 → Hellion Chat에서 diff --git a/HellionChat/Resources/HellionStrings.nb.resx b/HellionChat/Resources/HellionStrings.nb.resx index b789d8f..3f3e4ea 100644 --- a/HellionChat/Resources/HellionStrings.nb.resx +++ b/HellionChat/Resources/HellionStrings.nb.resx @@ -304,7 +304,7 @@ (uendret) - 💡 Prøv det: skriv /tell <Spillernavn> i chatten. Hellion Chat åpner en dedikert fane for samtalen og forhåndslaster de siste {0} meldingene. + Prøv det: skriv /tell <Spillernavn> i chatten. Hellion Chat åpner en dedikert fane for samtalen og forhåndslaster de siste {0} meldingene. Innstillinger → Hellion Chat for å finjustere senere diff --git a/HellionChat/Resources/HellionStrings.nl.resx b/HellionChat/Resources/HellionStrings.nl.resx index a6abe90..52178d7 100644 --- a/HellionChat/Resources/HellionStrings.nl.resx +++ b/HellionChat/Resources/HellionStrings.nl.resx @@ -304,7 +304,7 @@ (ongewijzigd) - 💡 Probeer het uit: typ /tell <Spelernaam> in de chat. Hellion Chat opent een eigen tabblad voor het gesprek en laadt de laatste {0} berichten vooraf. + Probeer het uit: typ /tell <Spelernaam> in de chat. Hellion Chat opent een eigen tabblad voor het gesprek en laadt de laatste {0} berichten vooraf. Instellingen → Hellion Chat om later te verfijnen diff --git a/HellionChat/Resources/HellionStrings.pl.resx b/HellionChat/Resources/HellionStrings.pl.resx index f0c77af..a42094c 100644 --- a/HellionChat/Resources/HellionStrings.pl.resx +++ b/HellionChat/Resources/HellionStrings.pl.resx @@ -304,7 +304,7 @@ (bez zmian) - 💡 Wypróbuj: wpisz /tell <Nazwa gracza> w czacie. Hellion Chat otworzy dedykowaną zakładkę dla rozmowy i wstępnie wczyta ostatnie {0} wiadomości. + Wypróbuj: wpisz /tell <Nazwa gracza> w czacie. Hellion Chat otworzy dedykowaną zakładkę dla rozmowy i wstępnie wczyta ostatnie {0} wiadomości. Ustawienia → Hellion Chat, aby dostosować później diff --git a/HellionChat/Resources/HellionStrings.pt-BR.resx b/HellionChat/Resources/HellionStrings.pt-BR.resx index 6a93311..9db5d6b 100644 --- a/HellionChat/Resources/HellionStrings.pt-BR.resx +++ b/HellionChat/Resources/HellionStrings.pt-BR.resx @@ -304,7 +304,7 @@ (sem alteração) - 💡 Experimente: digite /tell <Nome do Jogador> no chat. O Hellion Chat abre uma aba dedicada para a conversa e pré-carrega as últimas {0} mensagens. + Experimente: digite /tell <Nome do Jogador> no chat. O Hellion Chat abre uma aba dedicada para a conversa e pré-carrega as últimas {0} mensagens. Configurações → Hellion Chat para ajustar depois diff --git a/HellionChat/Resources/HellionStrings.pt-PT.resx b/HellionChat/Resources/HellionStrings.pt-PT.resx index 9d4b236..920b34d 100644 --- a/HellionChat/Resources/HellionStrings.pt-PT.resx +++ b/HellionChat/Resources/HellionStrings.pt-PT.resx @@ -304,7 +304,7 @@ (sem alterações) - 💡 Experimenta: escreve /tell <Nome do Jogador> no chat. O Hellion Chat abre um separador dedicado para a conversa e pré-carrega as últimas {0} mensagens. + Experimenta: escreve /tell <Nome do Jogador> no chat. O Hellion Chat abre um separador dedicado para a conversa e pré-carrega as últimas {0} mensagens. Definições → Hellion Chat para ajustar mais tarde diff --git a/HellionChat/Resources/HellionStrings.resx b/HellionChat/Resources/HellionStrings.resx index 0de0899..5e3f01f 100644 --- a/HellionChat/Resources/HellionStrings.resx +++ b/HellionChat/Resources/HellionStrings.resx @@ -304,7 +304,7 @@ (unchanged) - 💡 Try it: type /tell <Player Name> into chat. Hellion Chat opens a dedicated tab for the conversation and preloads the last {0} messages. + Try it: type /tell <Player Name> into chat. Hellion Chat opens a dedicated tab for the conversation and preloads the last {0} messages. Settings → Hellion Chat to fine-tune later diff --git a/HellionChat/Resources/HellionStrings.ro.resx b/HellionChat/Resources/HellionStrings.ro.resx index 0e672a3..fe6d5cd 100644 --- a/HellionChat/Resources/HellionStrings.ro.resx +++ b/HellionChat/Resources/HellionStrings.ro.resx @@ -304,7 +304,7 @@ (nemodificat) - 💡 Încearcă: tastează /tell <Nume Jucător> în chat. Hellion Chat deschide un tab dedicat pentru conversație și preîncarcă ultimele {0} mesaje. + Încearcă: tastează /tell <Nume Jucător> în chat. Hellion Chat deschide un tab dedicat pentru conversație și preîncarcă ultimele {0} mesaje. Setări → Hellion Chat pentru ajustări ulterioare diff --git a/HellionChat/Resources/HellionStrings.ru.resx b/HellionChat/Resources/HellionStrings.ru.resx index 84f505a..42b2d48 100644 --- a/HellionChat/Resources/HellionStrings.ru.resx +++ b/HellionChat/Resources/HellionStrings.ru.resx @@ -304,7 +304,7 @@ (без изменений) - 💡 Попробуйте: введите /tell <Имя игрока> в чате. Hellion Chat откроет отдельную вкладку для разговора и предзагрузит последние {0} сообщений. + Попробуйте: введите /tell <Имя игрока> в чате. Hellion Chat откроет отдельную вкладку для разговора и предзагрузит последние {0} сообщений. Настройки → Hellion Chat для тонкой настройки позже diff --git a/HellionChat/Resources/HellionStrings.sv.resx b/HellionChat/Resources/HellionStrings.sv.resx index 292458c..a3dde99 100644 --- a/HellionChat/Resources/HellionStrings.sv.resx +++ b/HellionChat/Resources/HellionStrings.sv.resx @@ -304,7 +304,7 @@ (oförändrat) - 💡 Prova: skriv /tell <Spelarnamn> i chatten. Hellion Chat öppnar en dedikerad flik för konversationen och förladdar de senaste {0} meddelandena. + Prova: skriv /tell <Spelarnamn> i chatten. Hellion Chat öppnar en dedikerad flik för konversationen och förladdar de senaste {0} meddelandena. Inställningar → Hellion Chat för att finjustera senare diff --git a/HellionChat/Resources/HellionStrings.tr.resx b/HellionChat/Resources/HellionStrings.tr.resx index 61a0d41..49b7ff2 100644 --- a/HellionChat/Resources/HellionStrings.tr.resx +++ b/HellionChat/Resources/HellionStrings.tr.resx @@ -304,7 +304,7 @@ (değiştirilmedi) - 💡 Dene: sohbete /tell <Oyuncu Adı> yaz. Hellion Chat konuşma için özel bir sekme açar ve son {0} mesajı önceden yükler. + Dene: sohbete /tell <Oyuncu Adı> yaz. Hellion Chat konuşma için özel bir sekme açar ve son {0} mesajı önceden yükler. Daha sonra ince ayar için Ayarlar → Hellion Chat diff --git a/HellionChat/Resources/HellionStrings.uk.resx b/HellionChat/Resources/HellionStrings.uk.resx index 6385148..b9e2488 100644 --- a/HellionChat/Resources/HellionStrings.uk.resx +++ b/HellionChat/Resources/HellionStrings.uk.resx @@ -304,7 +304,7 @@ (без змін) - 💡 Спробуйте: введіть /tell <Ім'я гравця> у чат. Hellion Chat відкриє окрему вкладку для розмови й попередньо завантажить останні {0} повідомлень. + Спробуйте: введіть /tell <Ім'я гравця> у чат. Hellion Chat відкриє окрему вкладку для розмови й попередньо завантажить останні {0} повідомлень. Налаштування → Hellion Chat для подальшого тонкого налаштування diff --git a/HellionChat/Resources/HellionStrings.zh-Hans.resx b/HellionChat/Resources/HellionStrings.zh-Hans.resx index a8ec765..074af34 100644 --- a/HellionChat/Resources/HellionStrings.zh-Hans.resx +++ b/HellionChat/Resources/HellionStrings.zh-Hans.resx @@ -304,7 +304,7 @@ (未更改) - 💡 试一试:在聊天框输入 /tell <玩家名称>。Hellion Chat 会自动为该对话开启专属标签页,并预加载最近 {0} 条消息。 + 试一试:在聊天框输入 /tell <玩家名称>。Hellion Chat 会自动为该对话开启专属标签页,并预加载最近 {0} 条消息。 进入设置 → Hellion Chat 可进一步微调 diff --git a/HellionChat/Resources/HellionStrings.zh-Hant.resx b/HellionChat/Resources/HellionStrings.zh-Hant.resx index 19fc512..c399412 100644 --- a/HellionChat/Resources/HellionStrings.zh-Hant.resx +++ b/HellionChat/Resources/HellionStrings.zh-Hant.resx @@ -304,7 +304,7 @@ (未變更) - 💡 試試看:在聊天中輸入 /tell <玩家名稱>。Hellion Chat 會為此對話開啟專屬標籤頁,並預載最後 {0} 則訊息。 + 試試看:在聊天中輸入 /tell <玩家名稱>。Hellion Chat 會為此對話開啟專屬標籤頁,並預載最後 {0} 則訊息。 設定 → Hellion Chat 可在之後進行細部調整 diff --git a/HellionChat/Ui/Components/Sidebar.cs b/HellionChat/Ui/Components/Sidebar.cs index d57afc0..bd5be26 100644 --- a/HellionChat/Ui/Components/Sidebar.cs +++ b/HellionChat/Ui/Components/Sidebar.cs @@ -23,9 +23,13 @@ internal sealed class Sidebar public const float IconOnlyWidth = 38f; // Expanded sidebar width is user-configurable (Config.SidebarWidth), - // clamped to these bounds (matches the ChannelsTab slider range). Replaces - // the old fixed 150px ExpandedWidth constant. - public const float MinSidebarWidth = 40f; + // clamped to these bounds (matches the ChannelsTab slider range). + // + // The floor is where a tab name stops being readable, not where the icons + // stop fitting: 40 let the expanded sidebar be narrower than the icon-only + // one, which drew labels into a column too narrow to hold them. Anyone who + // wants it that slim wants the collapsed layout, and that is IconOnlyWidth. + public const float MinSidebarWidth = 130f; public const float MaxSidebarWidth = 300f; private static float RowHeight => Metrics.SidebarRowHeight;