Skip to content
Snippets Groups Projects
Commit 847347bc authored by Magnus Eik's avatar Magnus Eik
Browse files

Minor style changes.

parent db02660d
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,6 @@ import javafx.scene.layout.VBox;
import javafx.stage.Modality;
import javafx.stage.Stage;
import java.text.Normalizer;
/**
* Abstract class for popups.
*/
......@@ -76,7 +74,7 @@ public abstract class AbstractPopup {
*
* @param layout the layout of the popup.
*/
public AbstractPopup(VBox layout) {
protected AbstractPopup(VBox layout) {
this.popupModifyStage = new Stage();
this.popupModifyStage.initModality(Modality.APPLICATION_MODAL);
this.popupModifyStage.setAlwaysOnTop(true);
......@@ -123,7 +121,7 @@ public abstract class AbstractPopup {
VBox.setVgrow(bottomLayout, Priority.ALWAYS);
layout.getChildren().add(0, nameBox);
layout.getChildren().addFirst(nameBox);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment