Where to define amount of links in ACTIONS dropdown?

The orange dropdown button “actions” only seems to allow 5 items by default (for reasons which are not fully clear)

I see that it’s a number that gets assigned somewhere in smarty called “num_buttons”, but I’m not sure if there’s a clean way to assign this value somewhere.

Also is there a specific reason why this number is set at 5? I checked mobile layout and it still looks okey if it’s over 5 links.

it’s a typo in my code… may be a mod can nuke this whole thread