mirror of https://github.com/godotengine/godot
Increase size of Offset field in audio import dialog
This commit is contained in:
parent
e567f49cbb
commit
e2a6d53419
|
|
@ -544,7 +544,9 @@ AudioStreamImportSettingsDialog::AudioStreamImportSettingsDialog() {
|
||||||
loop_offset = memnew(SpinBox);
|
loop_offset = memnew(SpinBox);
|
||||||
loop_offset->set_max(10000);
|
loop_offset->set_max(10000);
|
||||||
loop_offset->set_step(0.001);
|
loop_offset->set_step(0.001);
|
||||||
loop_offset->set_suffix("sec");
|
loop_offset->set_suffix("s");
|
||||||
|
loop_offset->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
|
loop_offset->set_stretch_ratio(0.33);
|
||||||
loop_offset->set_tooltip_text(TTR("Loop offset (from beginning). Note that if BPM is set, this setting will be ignored."));
|
loop_offset->set_tooltip_text(TTR("Loop offset (from beginning). Note that if BPM is set, this setting will be ignored."));
|
||||||
loop_offset->connect(SceneStringName(value_changed), callable_mp(this, &AudioStreamImportSettingsDialog::_settings_changed).unbind(1));
|
loop_offset->connect(SceneStringName(value_changed), callable_mp(this, &AudioStreamImportSettingsDialog::_settings_changed).unbind(1));
|
||||||
loop_hb->add_child(loop_offset);
|
loop_hb->add_child(loop_offset);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue