Skip to content

Commit

Permalink
Merge pull request #14 from aalmiray/style-classes
Browse files Browse the repository at this point in the history
Add style classes to FormRenderer and SectionRenderer
  • Loading branch information
dlemmermann authored Jul 5, 2018
2 parents 4174cb8 + 2d8123f commit 64e50d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ public void initializeParts() {
*/
@Override
public void layoutParts() {
getStyleClass().add("formsfx-form");

setPadding(new Insets(10));
getChildren().addAll(sections);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public void initializeParts() {
@Override
public void layoutParts() {
super.layoutParts();

getStyleClass().add("formsfx-section");

titledPane.setContent(grid);
getChildren().add(titledPane);

Expand Down

0 comments on commit 64e50d1

Please sign in to comment.