You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
This commit is contained in:
committed by
Rémi Verschelde
parent
995281ca90
commit
77a9f3d4d8
@@ -1779,7 +1779,6 @@ void ProjectManager::_notification(int p_what) {
|
||||
}
|
||||
if (asset_library) {
|
||||
real_t size = get_size().x / EDSCALE;
|
||||
asset_library->set_columns(size < 1000 ? 1 : 2);
|
||||
// Adjust names of tabs to fit the new size.
|
||||
if (size < 650) {
|
||||
local_projects_hb->set_name(TTR("Local"));
|
||||
|
||||
Reference in New Issue
Block a user