From: Olaf Wintermann Date: Tue, 26 Aug 2025 13:08:37 +0000 (+0200) Subject: fix broken container defvfill setting X-Git-Url: https://uap-core.de/gitweb/?a=commitdiff_plain;h=6008999c18fb63168f8bfd7937716e51c63d7e52;p=rssreader.git fix broken container defvfill setting --- 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,