Skip to content

Commit 1816f46

Browse files
committed
Fix layout in JSHint preference page
This page's layout was accidently modified when switching to the new layout util in commit 093acc5
1 parent 2ec07e2 commit 1816f46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bundles/com.eclipsesource.jshint.ui/src/com/eclipsesource/jshint/ui/internal/preferences/ui/JSHintPreferencePage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ private void createCustomJSHintArea( Composite parent ) {
103103
defaultLibButton.setText( "Use the &built-in JSHint library (version "
104104
+ JSHint.getDefaultLibraryVersion()
105105
+ ")" );
106-
gridData( defaultLibButton ).fillBoth().span( 3, 1 );
106+
gridData( defaultLibButton ).fillHorizontal().span( 3, 1 );
107107
customLibButton = new Button( parent, SWT.RADIO );
108108
customLibButton.setText( "Provide a &custom JSHint library file" );
109-
gridData( customLibButton ).fillBoth().span( 3, 1 );
109+
gridData( customLibButton ).fillHorizontal().span( 3, 1 );
110110
customLibButton.addSelectionListener( new SelectionAdapter() {
111111
@Override
112112
public void widgetSelected( SelectionEvent e ) {
@@ -115,7 +115,7 @@ public void widgetSelected( SelectionEvent e ) {
115115
}
116116
} );
117117
customLibPathText = new Text( parent, SWT.BORDER );
118-
gridData( customLibPathText ).fillBoth().span( 2, 1 ).indent( 25, 0 );
118+
gridData( customLibPathText ).fillHorizontal().span( 2, 1 ).indent( 25, 0 );
119119
customLibPathText.addModifyListener( new ModifyListener() {
120120
public void modifyText( ModifyEvent e ) {
121121
updateValuesFromControls();

0 commit comments

Comments
 (0)