mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 17:36:34 +00:00
Added preferences for split views and tabs unloader
This commit is contained in:
2
l10n
2
l10n
Submodule l10n updated: 51317dbe46...bee67c4c6e
@@ -119,6 +119,7 @@ pref('zen.sidebar.close-on-blur', true);
|
||||
// Zen Split View
|
||||
pref('zen.splitView.working', false);
|
||||
pref('zen.splitView.min-resize-width', 7);
|
||||
pref('zen.splitView.change-on-hover', false);
|
||||
|
||||
// Zen Workspaces
|
||||
pref('zen.workspaces.enabled', true);
|
||||
|
Submodule src/browser/base/content/zen-components updated: 5df1298bfd...37804deef0
@@ -954,4 +954,14 @@ Preferences.addAll([
|
||||
type: 'bool',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
id: 'zen.view.split-view.change-on-hover',
|
||||
type: 'bool',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
id: 'zen.tab-unloader.timeout-minutes',
|
||||
type: 'int',
|
||||
default: 10,
|
||||
}
|
||||
]);
|
||||
|
@@ -255,6 +255,22 @@
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<hbox id="zenSplitViewCategory"
|
||||
class="subcategory"
|
||||
hidden="true"
|
||||
data-category="paneZenLooks">
|
||||
<html:h1 data-l10n-id="zen-split-view-title"/>
|
||||
</hbox>
|
||||
|
||||
<groupbox id="zenSplitViewGroup" data-category="paneZenLooks" hidden="true" class="highlighting-group">
|
||||
<label><html:h2 data-l10n-id="zen-split-view-header"/></label>
|
||||
<description class="description-deemphasized" data-l10n-id="zen-split-view-description" />
|
||||
|
||||
<checkbox id="zenLooksAndFeelSplitViewChangeOnHover"
|
||||
data-l10n-id="zen-split-view-change-on-hover"
|
||||
preference="zen.view.split-view.change-on-hover"/>
|
||||
</groupbox>
|
||||
|
||||
<hbox id="zenVerticalTabsCategory"
|
||||
class="subcategory"
|
||||
hidden="true"
|
||||
|
@@ -49,8 +49,14 @@
|
||||
preference="zen.tab-unloader.enabled"/>
|
||||
|
||||
<label><html:h2 data-l10n-id="zen-tabs-unloader-unload-delay"/></label>
|
||||
<description class="description-deemphasized" data-l10n-id="zen-tabs-unloader-unload-delay-description" />
|
||||
<!-- TODO: Input type should be number -->
|
||||
<hbox id="zenTabsUnloadDelayContainer">
|
||||
<description class="description-deemphasized" data-l10n-id="zen-tabs-unloader-unload-delay-description" />
|
||||
<html:input id="zenTabsUnloadDelay"
|
||||
type="number"
|
||||
min="1"
|
||||
max="1000"
|
||||
preference="zen.tab-unloader.timeout-minutes"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
</html:template>
|
||||
|
@@ -309,6 +309,15 @@ groupbox h2 {
|
||||
list-style-image: url('chrome://browser/skin/window.svg');
|
||||
}
|
||||
|
||||
#zenTabsUnloadDelayContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
& #zenTabsUnloadDelay {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* CKS */
|
||||
|
||||
#category-zen-CKS > .category-icon {
|
||||
|
Reference in New Issue
Block a user