Skip to content

Commit

Permalink
Expand columns in the audio interactive transition editor
Browse files Browse the repository at this point in the history
This prevents columns from being unusably narrow,
especially on hiDPI displays.
  • Loading branch information
Calinou committed Aug 4, 2024
1 parent 3978628 commit 59cf314
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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();
Expand Down

0 comments on commit 59cf314

Please sign in to comment.