Skip to content

Commit a19cb97

Browse files
committed
Merge pull request #103029 from KoBeWi/increase_offset
Increase size of Offset field in audio import dialog
2 parents fc940ec + e2a6d53 commit a19cb97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

editor/import/audio_stream_import_settings.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,9 @@ AudioStreamImportSettingsDialog::AudioStreamImportSettingsDialog() {
551551
loop_offset->set_accessibility_name(TTRC("Loop Offset"));
552552
loop_offset->set_max(10000);
553553
loop_offset->set_step(0.001);
554-
loop_offset->set_suffix("sec");
554+
loop_offset->set_suffix("s");
555+
loop_offset->set_h_size_flags(Control::SIZE_EXPAND_FILL);
556+
loop_offset->set_stretch_ratio(0.33);
555557
loop_offset->set_tooltip_text(TTR("Loop offset (from beginning). Note that if BPM is set, this setting will be ignored."));
556558
loop_offset->connect(SceneStringName(value_changed), callable_mp(this, &AudioStreamImportSettingsDialog::_settings_changed).unbind(1));
557559
loop_hb->add_child(loop_offset);

0 commit comments

Comments
 (0)