Skip to content

Commit e2a6d53

Browse files
committed
Increase size of Offset field in audio import dialog
1 parent e567f49 commit e2a6d53

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
@@ -544,7 +544,9 @@ AudioStreamImportSettingsDialog::AudioStreamImportSettingsDialog() {
544544
loop_offset = memnew(SpinBox);
545545
loop_offset->set_max(10000);
546546
loop_offset->set_step(0.001);
547-
loop_offset->set_suffix("sec");
547+
loop_offset->set_suffix("s");
548+
loop_offset->set_h_size_flags(Control::SIZE_EXPAND_FILL);
549+
loop_offset->set_stretch_ratio(0.33);
548550
loop_offset->set_tooltip_text(TTR("Loop offset (from beginning). Note that if BPM is set, this setting will be ignored."));
549551
loop_offset->connect(SceneStringName(value_changed), callable_mp(this, &AudioStreamImportSettingsDialog::_settings_changed).unbind(1));
550552
loop_hb->add_child(loop_offset);

0 commit comments

Comments
 (0)