Skip to content

Altering the postions of the options visible in top toolbar #14250

Answered by msujew
sowjanyagunupuru asked this question in Q&A
Discussion options

You must be logged in to vote

Please see:

if (!environment.electron.is()) {
this.corePreferences.ready.then(() => {
this.setTopPanelVisibility(this.corePreferences['window.menuBarVisibility']);
});
this.corePreferences.onPreferenceChanged(preference => {
if (preference.preferenceName === 'window.menuBarVisibility') {
this.setTopPanelVisibility(preference.newValue);
}
});
}

and

protected setTopPanelVisibility(preference: string): void {
const hiddenPreferences = ['compact'

Replies: 1 comment 20 replies

Comment options

You must be logged in to vote
20 replies
@sowjanyagunupuru
Comment options

@msujew
Comment options

@sowjanyagunupuru
Comment options

@msujew
Comment options

Answer selected by sowjanyagunupuru
@sowjanyagunupuru
Comment options

@sowjanyagunupuru
Comment options

@msujew
Comment options

@sowjanyagunupuru
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants