diff --git a/changelog.md b/changelog.md
index c9b13fc..7a4d7e0 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,11 @@
# Changelog GarageCalc1
+## [0.4.2] - 2021-07-01
+## Added
+- Tabelle "Gegenstände": Zeilen sind sortierbar (-> Klick auf Spaltenköpfe)
+- Tabelle "Gegenstände": Spalten sind anordenbar
+- Beide Tabellen: Rechte Spalte wächst dynamisch ans Ende
+
## [0.4.1] - 2021-07-01
## Added
- Dynamisches Layout
diff --git a/src/clsTableWidget.py b/src/clsTableWidget.py
index 98c5bb4..9d9b686 100644
--- a/src/clsTableWidget.py
+++ b/src/clsTableWidget.py
@@ -55,6 +55,9 @@ class TableWidget(QTableWidget):
self.setSelectionBehavior(QTableWidget.SelectItems)
#self.setSelectionBehavior(QTableWidget.SelectRows)
self.setAlternatingRowColors(True)
+ self.setSortingEnabled(True)
+ self.horizontalHeader().setSectionsMovable(True)
+ self.horizontalHeader().setStretchLastSection(True)
# Context-menu
self.setContextMenuPolicy(Qt.CustomContextMenu)
@@ -67,6 +70,7 @@ class TableWidget(QTableWidget):
self.headers.customContextMenuRequested.connect(self.on_rowheadercontext_menu)
self.headers.setSelectionMode(QAbstractItemView.SingleSelection)
self.headers.sectionClicked.connect(self.select_row)
+ self.headers.setSectionsMovable(True)
self.row_selected = False
diff --git a/src/main.py b/src/main.py
index a5ff8db..0f22d8f 100644
--- a/src/main.py
+++ b/src/main.py
@@ -28,7 +28,7 @@ from utils import show_about, resource_path
from clsTableWidget import TableWidget
# Local globals
-APP_VERSION = "v0.4.1"
+APP_VERSION = "v0.4.2"
DIR_APPDATA = os.getenv('LOCALAPPDATA')
diff --git a/ui/main.ui b/ui/main.ui
index b7f95e2..60cf484 100644
--- a/ui/main.ui
+++ b/ui/main.ui
@@ -55,6 +55,9 @@
58
+
+ true
+
Garage