From e87cf9ba4574c2234c4c600fbb998455b86f41a9 Mon Sep 17 00:00:00 2001 From: parg Date: Sat, 28 Dec 2024 15:32:23 +0000 Subject: [PATCH] Remember column widths --- .../ui/swt/views/columnsetup/TableColumnSetupWindow.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uis/src/com/biglybt/ui/swt/views/columnsetup/TableColumnSetupWindow.java b/uis/src/com/biglybt/ui/swt/views/columnsetup/TableColumnSetupWindow.java index 8f48a7fa67b..785f51b66f4 100644 --- a/uis/src/com/biglybt/ui/swt/views/columnsetup/TableColumnSetupWindow.java +++ b/uis/src/com/biglybt/ui/swt/views/columnsetup/TableColumnSetupWindow.java @@ -1569,7 +1569,10 @@ private TableViewSWT createTVAvail() { if (column != null) { column.setVisible(true); column.setPositionNoShift(i); - column.setWidth(widths[i]); + int existing = column.getWidth(); + if ( existing < widths[i] ){ + column.setWidth(widths[i]); + } } }