@@ -133,20 +133,20 @@ private void createComponents() {
133
133
add (chartNameLabel , "gapleft 4, growx, pushx" );
134
134
135
135
this .statusIcon = new StatusIcon ();
136
- add (statusIcon .get (), "pushx, growx" );
136
+ add (statusIcon .get (), "pushx, growx, wrap " );
137
137
138
- this .installButton = new JButton ("Install" );
139
- installButton .addActionListener (this ::onInstall );
140
- add (installButton , "spany 2, pushx, alignx right, aligny center, wrap" );
141
-
142
- add (new JBLabel ("Release name:" ), "" );
138
+ add (new JBLabel ("Release name:" ), "skip" );
143
139
this .releaseNameText = new JBTextField ();
144
140
this .releaseNameValidator = new ComponentValidator (parentDisposable )
145
141
.withValidator (new ReleaseNameValidator (releaseNameText ))
146
142
.installOn (releaseNameText )
147
143
.andRegisterOnDocumentListener (releaseNameText );
148
144
releaseNameText .addKeyListener (onKeyPressed (installButton ));
149
- add (releaseNameText , "spanx 2, pushx, growx, wrap" );
145
+ add (releaseNameText , "spanx 2, pushx, growx" );
146
+
147
+ this .installButton = new JButton ("Install" );
148
+ installButton .addActionListener (this ::onInstall );
149
+ add (installButton , "pushx, alignx right, aligny center, wrap" );
150
150
151
151
add (new JBLabel ("Active " + (odo .isOpenShift () ? "project:" : "namespace:" )), "skip, pushx" );
152
152
this .currentProjectLabel = new JBLabel ();
@@ -156,10 +156,10 @@ private void createComponents() {
156
156
add (new JBLabel ("Version:" ), "skip" );
157
157
this .versionsComboBox = new ComboBox <>(versionsComboBoxModel );
158
158
versionsComboBox .addItemListener (onVersionSelected ());
159
- add (versionsComboBox , "spanx 2, width 100:100:100, gap 4 0 0 0 , wrap" );
159
+ add (versionsComboBox , "wmax 100, wrap" );
160
160
161
161
this .valuesOrResultPanel = new ValuesOrResultPanel (parentDisposable , project );
162
- add (valuesOrResultPanel , "skip, spanx, push, grow, gap 0 0 0 4, height 400:600, wrap" );
162
+ add (valuesOrResultPanel , "spanx, push, grow, gap 0 0 0 4, height 400:600, wrap" );
163
163
164
164
setChart (chart );
165
165
valuesOrResultPanel .setValuesListener (onValuesChanged ());
0 commit comments