Skip to content

Commit 9fe925e

Browse files
authored
Fixed Lambda config window resize (#3737)
* Fixed Lambda config window resize * Added changeLog
1 parent 63967f1 commit 9fe925e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix AWS Lambda configuration window resize (#3657)"
4+
}

jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/execution/LambdaInputPanel.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public class LambdaInputPanel {
5656
EditorTextField inputText;
5757
JPanel panel;
5858

59+
private final int setWidthSize = 20;
60+
5961
public LambdaInputPanel(Project project) {
6062
this.project = project;
6163

@@ -136,6 +138,7 @@ public LambdaInputPanel(Project project) {
136138

137139
private void createUIComponents() {
138140
inputText = EditorTextFieldProvider.getInstance().getEditorField(JsonLanguage.INSTANCE, project, Collections.emptyList());
141+
inputText.setPreferredWidth(setWidthSize);
139142

140143
eventComboBoxModel = new SortedComboBoxModel<>(Comparator.comparing(LambdaSampleEvent::getName));
141144

0 commit comments

Comments
 (0)