File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -232,14 +232,16 @@ protected void createEditorReuseGroup(Composite composite) {
232232 editorReuseIndentGroup = new Composite (editorReuseGroup , SWT .LEFT );
233233 editorReuseIndentGroup .setLayout (GridLayoutFactory .fillDefaults ().create ());
234234 editorReuseIndentGroup
235- .setLayoutData (GridDataFactory .fillDefaults ().grab (true , false ).create ());
235+ .setLayoutData (GridDataFactory .fillDefaults ().grab (false , false ).create ());
236236
237237 editorReuseThresholdGroup = new Composite (editorReuseIndentGroup , SWT .LEFT );
238238 GridLayout layout = new GridLayout ();
239239 layout .marginWidth = 0 ;
240240 editorReuseThresholdGroup .setLayout (layout );
241+ GridData gridData = GridDataFactory .fillDefaults ().grab (true , false ).create ();
242+ gridData .widthHint = 35 ;
241243 editorReuseThresholdGroup
242- .setLayoutData (GridDataFactory . fillDefaults (). grab ( true , false ). create () );
244+ .setLayoutData (gridData );
243245
244246 reuseEditorsThreshold = new IntegerFieldEditor (IPreferenceConstants .REUSE_EDITORS , "" , //$NON-NLS-1$
245247 editorReuseThresholdGroup );
Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ PageLayout_missingRefPart=Referenced part does not exist yet: {0}.
730730# Keys used in the reuse editor which is released as experimental.
731731# ==============================================================================
732732PinEditorAction_toolTip =Pin Editor
733- WorkbenchPreference_reuseEditors =&Close oldest if there are more than
733+ WorkbenchPreference_reuseEditors =&Close editors if there are more than
734734WorkbenchPreference_reuseEditors_closing =editors open
735735WorkbenchPreference_reuseEditorsThresholdError =The number of opened editors should be more than 0.
736736WorkbenchPreference_recentFiles =Size of &recently opened files list:
You can’t perform that action at this time.
0 commit comments