View | Details | Raw Unified | Return to bug 173655
Collapse All | Expand All

(-)src/org/eclipse/ui/internal/browser/Messages.properties (-1 / +1 lines)
Lines 35-41 Link Here
35
35
36
# Name of the preference pages
36
# Name of the preference pages
37
preferenceWebBrowserTitle=Web Browser
37
preferenceWebBrowserTitle=Web Browser
38
preferenceWebBrowserDescription=Add, remove, or edit installed Web browsers.\nThe selected Web browser will be used by default when Web pages are opened,\nalthough some applications may always use the external browser.
38
preferenceWebBrowserDescription=Add, remove, or edit installed Web browsers.\nThe selected Web browser will be used by default when Web pages are opened, although some applications may always use the external browser.
39
39
40
# Web Browser preferences
40
# Web Browser preferences
41
prefInternalBrowser=Use &internal Web browser
41
prefInternalBrowser=Use &internal Web browser
(-)src/org/eclipse/ui/internal/browser/WebBrowserPreferencePage.java (-13 / +7 lines)
Lines 165-188 Link Here
165
		layout.marginWidth = 0;
165
		layout.marginWidth = 0;
166
		layout.marginHeight = 0;
166
		layout.marginHeight = 0;
167
		composite.setLayout(layout);
167
		composite.setLayout(layout);
168
		GridData data = new GridData(GridData.FILL_HORIZONTAL
168
		GridData data = new GridData(SWT.FILL, SWT.FILL, true, false);
169
				| GridData.VERTICAL_ALIGN_FILL);
170
		composite.setLayoutData(data);
169
		composite.setLayoutData(data);
171
170
172
		Label label = new Label(composite, SWT.WRAP);
171
		Label label = new Label(composite, SWT.WRAP);
173
		label.setText(Messages.preferenceWebBrowserDescription);
172
		label.setText(Messages.preferenceWebBrowserDescription);
174
		data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
173
		data = new GridData(SWT.FILL, SWT.NONE, false, false);
175
		data.horizontalSpan = 2;
176
		label.setLayoutData(data);
177
		
178
		label = new Label(composite, SWT.WRAP);
179
		data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
180
		data.horizontalSpan = 2;
174
		data.horizontalSpan = 2;
175
		data.widthHint = 275;
181
		label.setLayoutData(data);
176
		label.setLayoutData(data);
182
177
183
		internal = new Button(composite, SWT.RADIO);
178
		internal = new Button(composite, SWT.RADIO);
184
		internal.setText(Messages.prefInternalBrowser);
179
		internal.setText(Messages.prefInternalBrowser);
185
		data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
180
		data = new GridData(SWT.FILL, SWT.NONE, true, false);
186
		data.horizontalSpan = 2;
181
		data.horizontalSpan = 2;
187
		internal.setLayoutData(data);
182
		internal.setLayoutData(data);
188
183
Lines 191-210 Link Here
191
186
192
		external = new Button(composite, SWT.RADIO);
187
		external = new Button(composite, SWT.RADIO);
193
		external.setText(Messages.prefExternalBrowser);
188
		external.setText(Messages.prefExternalBrowser);
194
		data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
189
		data = new GridData(SWT.FILL, SWT.NONE, true, false);
195
		data.horizontalSpan = 2;
190
		data.horizontalSpan = 2;
196
		external.setLayoutData(data);
191
		external.setLayoutData(data);
197
192
198
		label = new Label(composite, SWT.NONE);
193
		label = new Label(composite, SWT.NONE);
199
		label.setText(Messages.browserList);
194
		label.setText(Messages.browserList);
200
		data = new GridData(GridData.FILL_HORIZONTAL
195
		data = new GridData(SWT.FILL, SWT.CENTER, true, false);
201
				| GridData.VERTICAL_ALIGN_CENTER);
202
		data.horizontalSpan = 2;
196
		data.horizontalSpan = 2;
203
		label.setLayoutData(data);
197
		label.setLayoutData(data);
204
198
205
		table = new Table(composite, SWT.CHECK | SWT.BORDER | SWT.V_SCROLL
199
		table = new Table(composite, SWT.CHECK | SWT.BORDER | SWT.V_SCROLL
206
				| SWT.H_SCROLL | SWT.SINGLE | SWT.FULL_SELECTION);
200
				| SWT.H_SCROLL | SWT.SINGLE | SWT.FULL_SELECTION);
207
		data = new GridData(GridData.FILL_BOTH);
201
		data = new GridData(SWT.FILL, SWT.FILL, true, true);
208
		table.setLayoutData(data);
202
		table.setLayoutData(data);
209
		table.setHeaderVisible(false);
203
		table.setHeaderVisible(false);
210
		table.setLinesVisible(false);
204
		table.setLinesVisible(false);

Return to bug 173655