feat: Add compact view option to preferences

The code changes introduce a new preference option for enabling the compact view in the Zen browser. This allows users to show only the toolbars they use, improving the browsing experience for those who prefer a minimalistic interface.

(closes #31)
This commit is contained in:
Mauro Balades
2024-05-21 19:13:03 +02:00
parent 11467a5126
commit 2885d200d5
5 changed files with 69 additions and 1 deletions

View File

@@ -17,6 +17,13 @@
<checkbox id="zenLooksAndFeelUseThemedToolbar"
data-l10n-id="zen-look-and-feel-themed-toolbar"
preference="zen.theme.toolbar-themed"/>
<label><html:h2 data-l10n-id="zen-look-and-feel-compact-view-header"/></label>
<description class="description-deemphasized" data-l10n-id="zen-look-and-feel-compact-view-description" />
<checkbox id="zenLooksAndFeelUseThemedToolbar"
data-l10n-id="zen-look-and-feel-compact-view-enabled"
preference="zen.view.compact"/>
</groupbox>
<hbox id="zenSidePanelsCategory"