feat(settings): compact density toggle in Appearance

This commit is contained in:
2026-05-05 19:42:57 +02:00
parent a11c8bc6e9
commit b48684ce5a
4 changed files with 21 additions and 0 deletions
+4
View File
@@ -319,4 +319,8 @@ internal class HellionStrings
// Hellion Chat — v1.2.0 Bottom-Status-Bar Privacy-Badge labels // Hellion Chat — v1.2.0 Bottom-Status-Bar Privacy-Badge labels
internal static string StatusBar_Privacy_Enabled => Get(nameof(StatusBar_Privacy_Enabled)); internal static string StatusBar_Privacy_Enabled => Get(nameof(StatusBar_Privacy_Enabled));
internal static string StatusBar_Privacy_Open => Get(nameof(StatusBar_Privacy_Open)); internal static string StatusBar_Privacy_Open => Get(nameof(StatusBar_Privacy_Open));
// Hellion Chat — v1.2.0 Appearance / Compact-Density toggle
internal static string Appearance_UseCompactDensity_Name => Get(nameof(Appearance_UseCompactDensity_Name));
internal static string Appearance_UseCompactDensity_Description => Get(nameof(Appearance_UseCompactDensity_Description));
} }
@@ -722,4 +722,10 @@
<data name="StatusBar_Privacy_Open" xml:space="preserve"> <data name="StatusBar_Privacy_Open" xml:space="preserve">
<value>Offen</value> <value>Offen</value>
</data> </data>
<data name="Appearance_UseCompactDensity_Name" xml:space="preserve">
<value>Kompakte Dichte</value>
</data>
<data name="Appearance_UseCompactDensity_Description" xml:space="preserve">
<value>Schaltet das Message-Layout vom Card-Row-Default zurück auf einzeilige `[HH:mm] Sender: Text` Zeilen.</value>
</data>
</root> </root>
@@ -722,4 +722,10 @@
<data name="StatusBar_Privacy_Open" xml:space="preserve"> <data name="StatusBar_Privacy_Open" xml:space="preserve">
<value>Open</value> <value>Open</value>
</data> </data>
<data name="Appearance_UseCompactDensity_Name" xml:space="preserve">
<value>Compact Density</value>
</data>
<data name="Appearance_UseCompactDensity_Description" xml:space="preserve">
<value>Schaltet das Message-Layout vom Card-Row-Default zurück auf einzeilige `[HH:mm] Sender: Text` Zeilen.</value>
</data>
</root> </root>
@@ -356,6 +356,11 @@ internal sealed class Appearance : ISettingsTab
ImGui.Checkbox(Language.Options_MoreCompactPretty_Name, ref Mutable.MoreCompactPretty); ImGui.Checkbox(Language.Options_MoreCompactPretty_Name, ref Mutable.MoreCompactPretty);
ImGuiUtil.HelpMarker(Language.Options_MoreCompactPretty_Description); ImGuiUtil.HelpMarker(Language.Options_MoreCompactPretty_Description);
// v1.2.0 — Card-Rows als Default. Compact-Density schaltet auf den
// klassischen Single-Line-Mode `[HH:mm] Sender: Text` zurück.
ImGui.Checkbox(HellionStrings.Appearance_UseCompactDensity_Name, ref Mutable.UseCompactDensity);
ImGuiUtil.HelpMarker(HellionStrings.Appearance_UseCompactDensity_Description);
ImGui.Checkbox(Language.Options_HideSameTimestamps_Name, ref Mutable.HideSameTimestamps); ImGui.Checkbox(Language.Options_HideSameTimestamps_Name, ref Mutable.HideSameTimestamps);
ImGuiUtil.HelpMarker(Language.Options_HideSameTimestamps_Description); ImGuiUtil.HelpMarker(Language.Options_HideSameTimestamps_Description);
} }