From 59cf314d4afe6c3d03ed0b69fda7dd83b217a282 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 4 Aug 2024 16:54:27 +0200 Subject: [PATCH] Expand columns in the audio interactive transition editor This prevents columns from being unusably narrow, especially on hiDPI displays. --- .../editor/audio_stream_interactive_editor_plugin.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp b/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp index e29cc753c93b..8768d8322e3b 100644 --- a/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp +++ b/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp @@ -290,7 +290,6 @@ void AudioStreamInteractiveTransitionEditor::edit(Object *p_obj) { } int min_w = header_font->get_string_size(name + "XX").width; - tree->set_column_expand(cell_index, false); tree->set_column_custom_minimum_width(cell_index, min_w); max_w = MAX(max_w, min_w); @@ -314,7 +313,6 @@ void AudioStreamInteractiveTransitionEditor::edit(Object *p_obj) { } } - tree->set_column_expand(header_index, false); tree->set_column_custom_minimum_width(header_index, max_w); selection_order.clear(); _update_selection();