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.
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.