Make asset library's column count dynamic
This commit is contained in:
parent
73812c70f2
commit
d65eb592b0
3 changed files with 17 additions and 8 deletions
|
|
@ -1895,7 +1895,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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue