Fix #24: Meldungsbereich füllt verbleibenden vertikalen Platz

VBox.setVgrow(card, ALWAYS) auf dem Meldungs-Card macht die Sektion
dehnbar innerhalb von sectionsBox. Damit das VGrow überhaupt wirken kann,
wurde scrollPane.setFitToHeight(true) ergänzt – ohne diese Voraussetzung
bleibt tabContent auf seine natürliche Höhe beschränkt und das VGrow
läuft ins Leere.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-28 07:28:10 +02:00
parent 6317a27378
commit 769d15fd86
@@ -1233,6 +1233,9 @@ public final class GuiConfigurationEditorWorkspace {
ScrollPane scrollPane = new ScrollPane(tabContent);
scrollPane.setFitToWidth(true);
// FitToHeight sorgt dafür, dass tabContent den sichtbaren Viewport ausfüllt;
// nur so kann VBox.setVgrow auf einzelnen Sektionen (z.B. Meldungen) wirken.
scrollPane.setFitToHeight(true);
scrollPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER);
scrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED);
scrollPane.setPadding(new Insets(0));
@@ -1997,6 +2000,8 @@ public final class GuiConfigurationEditorWorkspace {
// Populate immediately so the area is not blank before the first validation run.
refreshMessagesArea();
// Meldungsbereich füllt den verbleibenden vertikalen Platz in sectionsBox.
VBox.setVgrow(card, Priority.ALWAYS);
return card;
}