mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-01 22:07:01 +01:00
Use clip tabs.
This commit is contained in:
parent
be0b5b5bdc
commit
ffb4c9eef7
@ -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++) {
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user