3434#include " editor/editor_node.h"
3535#include " editor/editor_string_names.h"
3636#include " editor/editor_undo_redo_manager.h"
37+ #include " editor/themes/editor_scale.h"
3738#include " scene/gui/check_box.h"
3839#include " scene/gui/option_button.h"
3940#include " scene/gui/spin_box.h"
@@ -290,7 +291,6 @@ void AudioStreamInteractiveTransitionEditor::edit(Object *p_obj) {
290291 }
291292
292293 int min_w = header_font->get_string_size (name + " XX" ).width ;
293- tree->set_column_expand (cell_index, false );
294294 tree->set_column_custom_minimum_width (cell_index, min_w);
295295 max_w = MAX (max_w, min_w);
296296
@@ -314,11 +314,10 @@ void AudioStreamInteractiveTransitionEditor::edit(Object *p_obj) {
314314 }
315315 }
316316
317- tree->set_column_expand (header_index, false );
318317 tree->set_column_custom_minimum_width (header_index, max_w);
319318 selection_order.clear ();
320319 _update_selection ();
321- popup_centered_ratio ( 0.6 );
320+ popup_centered_clamped ( Size2 ( 900 , 450 ) * EDSCALE );
322321 updating = false ;
323322 _update_transitions ();
324323}
@@ -332,6 +331,7 @@ AudioStreamInteractiveTransitionEditor::AudioStreamInteractiveTransitionEditor()
332331 tree->set_hide_root (true );
333332 tree->add_theme_constant_override (" draw_guides" , 1 );
334333 tree->set_select_mode (Tree::SELECT_MULTI);
334+ tree->set_custom_minimum_size (Size2 (400 , 0 ) * EDSCALE);
335335 split->add_child (tree);
336336
337337 tree->set_h_size_flags (Control::SIZE_EXPAND_FILL);
0 commit comments