Dynamic button "fill parent" overflow the screen

I have a bunch of dynamic buttons (16) inside a horizontal arrangement. I want all of these buttons to be the same width (my goal is to make a grid of buttons by putting together multiple lines). However, when I code “set width to -2”, every button is the same width, but they “overflow” the screen
(I did a bunch of checks, and I’m sure the other buttons are here, I can see them if I change the horizontal align to left/right)

Here is a screen of my app with the “overflowing effect”

I searched in similar topics on this forum, but I couldn’t find a single post with the same issue, am I missing something obvious ?

Thanks in advance for your help, and excuse my english (It’s not my main language)

Checked with horizontal scroll layout?

Unfortunately I don’t want the container to be scrollable…