Skip to content

Commit a3c6381

Browse files
authored
Hide panel icon rendering feature (microsoft#229817)
Don't make workbench.panel.showLabel visible
1 parent be760b0 commit a3c6381

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vs/workbench/browser/parts/panel/panelPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class PanelPart extends AbstractPaneCompositePart {
134134
pinnedViewContainersKey: 'workbench.panel.pinnedPanels',
135135
placeholderViewContainersKey: 'workbench.panel.placeholderPanels',
136136
viewContainersWorkspaceStateKey: 'workbench.panel.viewContainersWorkspaceState',
137-
icon: !this.configurationService.getValue('workbench.panel.showLabel'),
137+
icon: this.configurationService.getValue('workbench.panel.showLabel') === false,
138138
orientation: ActionsOrientation.HORIZONTAL,
139139
recomputeSizes: true,
140140
activityHoverOptions: {

src/vs/workbench/browser/workbench.contribution.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
517517
'workbench.panel.showLabel': {
518518
'type': 'boolean',
519519
'default': true,
520+
'included': false,
520521
'description': localize('panelShowLabel', "Controls whether activity items in the panel title are shown as label or icon."),
521522
},
522523
'workbench.panel.defaultLocation': {

0 commit comments

Comments
 (0)