Skip to content

Commit

Permalink
Simplify labels and adjust splitter stretch factors.
Browse files Browse the repository at this point in the history
Updated placeholder text for clarity and improved splitter layout by setting appropriate stretch factors for child widgets.
  • Loading branch information
cbusillo committed Jun 28, 2024
1 parent f2bf1b5 commit fe131e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bd_to_avp/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit fe131e6

Please sign in to comment.