Skip to content

Commit

Permalink
#7549 displaying additional sparkUI form properties above add button
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Mitusinski committed Jun 20, 2018
1 parent 670a761 commit e856000
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class SparkConfiguration extends VBox {
this.header = new HBox(asList(this.add, sparkVersionWidget(sparkVersion)));
List<PropertyItem> propertyItems = createPropertyItems(advancedSettings);
this.properties = new PropertiesWidget(propertyItems);
VBox configuration = new VBox(asList(this.header, this.properties.getWidget()));
VBox configuration = new VBox(asList(this.properties.getWidget(), this.header));
configuration.setDomClasses(new ArrayList<>(asList("bx-spark-configuration")));
add(configuration);
}
Expand Down Expand Up @@ -122,7 +122,7 @@ public void setConfiguration(Map<String, String> advancedSettings) {
List<PropertyItem> propertyItems = createPropertyItems(advancedSettings);
this.properties = new PropertiesWidget(propertyItems);
this.remove(this.getChildren().get(0));
add(new VBox(asList(this.header, this.properties.getWidget())));
add(new VBox(asList(this.properties.getWidget(), this.header)));
}

public void setDisabledToAll() {
Expand Down

0 comments on commit e856000

Please sign in to comment.