Use clip tabs.

This commit is contained in:
Relintai 2024-03-07 21:58:09 +01:00
parent be0b5b5bdc
commit ffb4c9eef7
2 changed files with 2 additions and 3 deletions

View File

@ -4309,7 +4309,7 @@ LayeredTileMapLayerEditor::LayeredTileMapLayerEditor() {
// Tabs.
tabs_bar = memnew(Tabs);
//tabs_bar->set_clip_tabs(false);
tabs_bar->set_clip_tabs(false);
for (int plugin_index = 0; plugin_index < tile_map_editor_plugins.size(); plugin_index++) {
Vector<LayeredTileMapLayerSubEditorPlugin::TabData> tabs_vector = tile_map_editor_plugins[plugin_index]->get_tabs();
for (int tab_index = 0; tab_index < tabs_vector.size(); tab_index++) {

View File

@ -850,8 +850,7 @@ LayeredTileSetEditor::LayeredTileSetEditor() {
// Tabs.
tabs_bar = memnew(Tabs);
tabs_bar->set_tab_align(Tabs::ALIGN_CENTER);
//tabs_bar->set_clip_tabs(false);
tabs_bar->set_clip_tabs(false);
tabs_bar->add_tab(TTR("Tiles"));
tabs_bar->add_tab(TTR("Patterns"));
tabs_bar->connect("tab_changed", this, "_tab_changed");