From fe131e6bbd03f7b648727d6626f9c098269ff649 Mon Sep 17 00:00:00 2001 From: Chris Busillo Date: Fri, 28 Jun 2024 16:23:14 -0400 Subject: [PATCH] Simplify labels and adjust splitter stretch factors. Updated placeholder text for clarity and improved splitter layout by setting appropriate stretch factors for child widgets. --- bd_to_avp/gui/main_window.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bd_to_avp/gui/main_window.py b/bd_to_avp/gui/main_window.py index 4ee8b34..7e48a4f 100644 --- a/bd_to_avp/gui/main_window.py +++ b/bd_to_avp/gui/main_window.py @@ -146,10 +146,10 @@ def create_quality_options(self, config_layout: QVBoxLayout) -> None: self.mv_hevc_quality_spinbox = LabeledSpinBox("MV-HEVC Quality (0-100)", default_value=config.mv_hevc_quality) self.fov_spinbox = LabeledSpinBox("Field of View", max_value=360, default_value=config.fov) self.frame_rate_entry = LabeledLineEdit( - "Frame Rate (Leave blank to use source value)", config.frame_rate, DiscInfo.frame_rate + "Frame Rate (Blank uses source)", config.frame_rate, DiscInfo.frame_rate ) self.resolution_entry = LabeledLineEdit( - "Resolution (Leave blank to use source value)", config.resolution, DiscInfo.resolution + "Resolution (Blank uses source)", config.resolution, DiscInfo.resolution ) config_layout.addWidget(self.audio_bitrate_spinbox) @@ -220,6 +220,8 @@ def create_processing_output(self, main_widget: QWidget) -> None: self.splitter.addWidget(main_widget) self.splitter.addWidget(self.processing_output_textedit) self.splitter.setSizes(self.SPLITTER_INITIAL_SIZES) # Adjust the sizes as needed + self.splitter.setStretchFactor(0, 0) + self.splitter.setStretchFactor(1, 1) self.setCentralWidget(self.splitter)