mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +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
|
|
@ -938,6 +938,7 @@ ThemeItemImportTree::ThemeItemImportTree() {
|
|||
import_items_tree->set_column_custom_minimum_width(IMPORT_ITEM_DATA, 80 * EDSCALE);
|
||||
import_items_tree->set_column_clip_content(1, true);
|
||||
import_items_tree->set_column_clip_content(2, true);
|
||||
import_items_tree->set_theme_type_variation("TreeSecondary");
|
||||
|
||||
ScrollContainer *import_bulk_sc = memnew(ScrollContainer);
|
||||
import_bulk_sc->set_custom_minimum_size(Size2(260.0, 0.0) * EDSCALE);
|
||||
|
|
@ -1937,6 +1938,7 @@ ThemeItemEditorDialog::ThemeItemEditorDialog(ThemeTypeEditor *p_theme_type_edito
|
|||
edit_dialog_side_vb->add_child(edit_type_list);
|
||||
edit_type_list->connect(SceneStringName(item_selected), callable_mp(this, &ThemeItemEditorDialog::_edited_type_selected));
|
||||
edit_type_list->connect("button_clicked", callable_mp(this, &ThemeItemEditorDialog::_edited_type_button_pressed));
|
||||
edit_type_list->set_theme_type_variation("TreeSecondary");
|
||||
|
||||
Label *edit_add_type_label = memnew(Label);
|
||||
edit_add_type_label->set_text(TTR("Add Type:"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue