Skip to content

Commit fd90393

Browse files
committed
Make the editor take the full height size
1 parent 69b16bd commit fd90393

File tree

1 file changed

+2
-0
lines changed
  • client/src/main/java/io/github/tobiasbriones/cp/rmifilesystem/client/content/editor

1 file changed

+2
-0
lines changed

client/src/main/java/io/github/tobiasbriones/cp/rmifilesystem/client/content/editor/EditorView.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import javafx.scene.control.Label;
2121
import javafx.scene.control.TextArea;
2222
import javafx.scene.layout.HBox;
23+
import javafx.scene.layout.Priority;
2324
import javafx.scene.layout.VBox;
2425

2526
/**
@@ -72,6 +73,7 @@ public void createView() {
7273
actionPane.setAlignment(Pos.CENTER_RIGHT);
7374
actionPane.setPadding(new Insets(8, 0, 8, 0));
7475

76+
VBox.setVgrow(contentArea, Priority.ALWAYS);
7577
getChildren().addAll(
7678
fileLabel,
7779
contentArea,

0 commit comments

Comments
 (0)