From f461e9480b948ac772ac9621a893271998ea8d14 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 2 Oct 2025 19:37:11 +0300 Subject: [PATCH] Increase select column width in format table The select column width in the format table was increased from 50 to 80 pixels to better accommodate longer translations. This change ensures consistent column sizing across different table setups. --- src/gui/ytsage_gui_format_table.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/ytsage_gui_format_table.py b/src/gui/ytsage_gui_format_table.py index c4f0467..9be5186 100644 --- a/src/gui/ytsage_gui_format_table.py +++ b/src/gui/ytsage_gui_format_table.py @@ -40,7 +40,7 @@ class FormatTableMixin: # Set specific column widths and resize modes self.format_table.horizontalHeader().setSectionResizeMode(0, QHeaderView.ResizeMode.Fixed) # Select - self.format_table.setColumnWidth(0, 50) # Select column width + self.format_table.setColumnWidth(0, 80) # Select column width (increased for longer translations) self.format_table.horizontalHeader().setSectionResizeMode(1, QHeaderView.ResizeMode.Fixed) # Quality self.format_table.setColumnWidth(1, 100) # Quality width @@ -194,7 +194,7 @@ class FormatTableMixin: # Set specific resize modes for playlist columns self.format_table.horizontalHeader().setSectionResizeMode(0, QHeaderView.ResizeMode.Fixed) - self.format_table.setColumnWidth(0, 50) + self.format_table.setColumnWidth(0, 80) # Match the width set in setup_format_table self.format_table.horizontalHeader().setSectionResizeMode(1, QHeaderView.ResizeMode.Stretch) self.format_table.horizontalHeader().setSectionResizeMode(2, QHeaderView.ResizeMode.Stretch) self.format_table.horizontalHeader().setSectionResizeMode(3, QHeaderView.ResizeMode.Stretch) @@ -220,7 +220,7 @@ class FormatTableMixin: # Reapply resize modes for non-playlist mode if needed (optional, might be okay without) self.format_table.horizontalHeader().setSectionResizeMode(0, QHeaderView.ResizeMode.Fixed) - self.format_table.setColumnWidth(0, 50) + self.format_table.setColumnWidth(0, 80) # Match the width set in setup_format_table self.format_table.horizontalHeader().setSectionResizeMode(1, QHeaderView.ResizeMode.Fixed) self.format_table.setColumnWidth(1, 100) self.format_table.horizontalHeader().setSectionResizeMode(2, QHeaderView.ResizeMode.Fixed)