Skip to content

Commit

Permalink
Merge pull request #118 from Checkmarx/AST-26473-FIX_FOR_OLD_VERSIONS
Browse files Browse the repository at this point in the history
Fix Additional Params label for old versions
  • Loading branch information
igorlombacx authored Jul 7, 2023
2 parents 4ebcf47 + e3f8cf7 commit 1ad35a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ protected void createFieldEditors() {
Text textControl = apiKey.getTextControl(topComposite);

StringFieldEditor additionalParams = new StringFieldEditor(Preferences.ADDITIONAL_OPTIONS,
PluginConstants.PREFERENCES_ADDITIONAL_OPTIONS, topGridData.widthHint, 5, 0, topComposite);
PluginConstants.PREFERENCES_ADDITIONAL_OPTIONS, StringFieldEditor.UNLIMITED, StringFieldEditor.VALIDATE_ON_KEY_STROKE, topComposite);
addField(additionalParams);

//set the width for API Key text field
GridData gridData = new GridData(SWT.BEGINNING, SWT.CENTER, true, false);
gridData.widthHint = 500; // Some width
Expand Down

0 comments on commit 1ad35a2

Please sign in to comment.