Skip to content

Commit f06f547

Browse files
committed
fix: removed left indentation to label in 'set current namespace' label (#723)
Signed-off-by: Andre Dietisheim <[email protected]>
1 parent 2abedcd commit f06f547

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/main/kotlin/com/redhat/devtools/intellij/kubernetes/dialogs/ResourceNameDialog.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ class ResourceNameDialog<NAMESPACE: HasMetadata>(
5656

5757
override fun createCenterPanel(): JComponent {
5858
return JPanel(BorderLayout()).apply {
59-
layout = BoxLayout(this, BoxLayout.Y_AXIS)
6059
val label = JBLabel("Current $kind:", SwingConstants.LEFT)
61-
label.border = JBUI.Borders.empty(0, 0, 10, 0)
62-
add(label)
63-
add(nameTextField)
64-
add(Box.createVerticalBox())
60+
label.border = JBUI.Borders.empty(0, 2, 2, 0)
61+
add(label, BorderLayout.PAGE_START)
62+
add(nameTextField, BorderLayout.CENTER)
6563
}
6664
}
6765

0 commit comments

Comments
 (0)