Expanded functionality of compact mode

This commit is contained in:
Mauro Balades
2024-07-29 14:30:06 +02:00
parent 1bd4bcf93f
commit d5a4ce2331
5 changed files with 45 additions and 1 deletions

View File

@@ -69,6 +69,11 @@ Preferences.addAll([
type: "bool",
default: false,
},
{
id: "zen.view.compact.hide-toolbar",
type: "bool",
default: false,
},
{
id: "zen.workspaces.enabled",
type: "bool",

View File

@@ -21,9 +21,14 @@
<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"
<checkbox id="zenLooksAndFeelShowCompactView"
data-l10n-id="zen-look-and-feel-compact-view-enabled"
preference="zen.view.compact"/>
<vbox class="indent">
<checkbox id="zenLooksAndFeelShowCompactViewToolbar"
data-l10n-id="zen-look-and-feel-compact-view-top-toolbar"
preference="zen.view.compact.hide-toolbar"/>
</vbox>
<label><html:h2 data-l10n-id="zen-look-and-feel-buttons-header"/></label>
<description class="description-deemphasized" data-l10n-id="zen-look-and-feel-buttons-description" />