mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add theme type variations for secondary Trees and ItemLists
This commit is contained in:
parent
fd4c29a189
commit
0ff5d5fd04
24 changed files with 35 additions and 0 deletions
|
@ -1294,6 +1294,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
|||
commit_list->set_columns(2); // Commit msg, author
|
||||
commit_list->set_column_custom_minimum_width(0, 40);
|
||||
commit_list->set_column_custom_minimum_width(1, 20);
|
||||
commit_list->set_theme_type_variation("TreeSecondary");
|
||||
commit_list->connect(SceneStringName(item_selected), callable_mp(this, &VersionControlEditorPlugin::_load_diff).bind(commit_list));
|
||||
version_commit_dock->add_child(commit_list);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue