From 6008999c18fb63168f8bfd7937716e51c63d7e52 Mon Sep 17 00:00:00 2001 From: Olaf Wintermann Date: Tue, 26 Aug 2025 15:08:37 +0200 Subject: [PATCH] fix broken container defvfill setting --- .../src/main/kotlin/de/unixwork/rssreader/MainWindow.kt | 2 +- ui-kotlin/src/main/kotlin/de/unixwork/ui/kotlin/Toplevel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rss-application/src/main/kotlin/de/unixwork/rssreader/MainWindow.kt b/rss-application/src/main/kotlin/de/unixwork/rssreader/MainWindow.kt index a4a346c..3860887 100644 --- a/rss-application/src/main/kotlin/de/unixwork/rssreader/MainWindow.kt +++ b/rss-application/src/main/kotlin/de/unixwork/rssreader/MainWindow.kt @@ -55,7 +55,7 @@ class MainWindow { hsplitpane(fill = true, initialPosition = 300) { vbox(fill = true) { val model = TableModel() - model.addColumn("Title", ColumnType.STRING) + model.addColumn("Title", ColumnType.STRING, -1) model.addColumn("Date", ColumnType.STRING) table( model = model, diff --git a/ui-kotlin/src/main/kotlin/de/unixwork/ui/kotlin/Toplevel.kt b/ui-kotlin/src/main/kotlin/de/unixwork/ui/kotlin/Toplevel.kt index 8f8441d..5822d8b 100644 --- a/ui-kotlin/src/main/kotlin/de/unixwork/ui/kotlin/Toplevel.kt +++ b/ui-kotlin/src/main/kotlin/de/unixwork/ui/kotlin/Toplevel.kt @@ -219,7 +219,7 @@ class Toplevel(obj: UiObject) { defhexpand = defhexpand, defhfill = defhfill, defvexpand = defvexpand, - defvfill = defhfill, + defvfill = defvfill, colspan = colspan, rowspan = rowspan, name = name, -- 2.47.3