1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Implement Tree's internal minimum width calculation

This commit is contained in:
Gilles Roudière
2021-06-28 15:40:56 +02:00
parent b2dddc3c82
commit d7d32ced5b
20 changed files with 193 additions and 108 deletions

View File

@@ -638,7 +638,7 @@ void FindInFilesPanel::set_with_replace(bool with_replace) {
// Results show checkboxes on their left so they can be opted out
_results_display->set_columns(2);
_results_display->set_column_expand(0, false);
_results_display->set_column_min_width(0, 48 * EDSCALE);
_results_display->set_column_custom_minimum_width(0, 48 * EDSCALE);
} else {
// Results are single-cell items