This is a tentative workaround for T53257.
Calls the prop directly using search with bl_rna access if there is more than 30 items to display.
Preferably this should be solved, if possible, on a widget level > changing the call if there are too many items to display.
The current UI behavior is not capable of dealing with complexity. The Aces 1.03 has over 300 of entries which will get cut of the screen.
For instance all EnumProperty entries, as the generator script from the mentioned task will do the same.
Until that bright day in the future, when everything will be amazing under the everlasting Blender Sun, this hack can silently work it's wacky shenanigans until it can happily ride into the sunset, not to be missed.
Note : the original code revision dealt only with a python workaround. The current implementation in C takes account of the window size, makes an estimation of the menu entries that are text depended and adjusts the number of columns accordingly.
| {F2518712} | {F2518716} |