Skip to content

Commit 3887e6e

Browse files
committed
Fix border is missing in function project creation wizard
1 parent 51319be commit 3887e6e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/wizard/module/FunctionTriggerChooserStep.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public JComponent getComponent() {
4848

4949
final JPanel panel = new JPanel(new BorderLayout());
5050
panel.add(builder.getPanel(), "North");
51+
panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
5152
return panel;
5253
}
5354

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/wizard/module/FunctionsModuleInfoStep.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ public void _init() {
122122

123123
refreshProjectComboBox();
124124

125-
panel.add(ScrollPaneFactory.createScrollPane(formBuilder.getPanel(), true), "North");
125+
final JPanel content = formBuilder.getPanel();
126+
content.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
127+
panel.add(ScrollPaneFactory.createScrollPane(content, true), "North");
126128
} catch (final RuntimeException e) {
127129
log.error(e.getLocalizedMessage(), e);
128130
throw e;

0 commit comments

Comments
 (0)