How to merge two cells from a Grid Layout Group

Hello,

I have a list of buttons within a Grid Layout Group.
Buttons are added dynamically with a name, the length of the name is restricted and fits in one cell.

For the case when text is longer, I want to merge two cells and the text can be displayed properly.

One solution I tried.
Supposing my grid contains cells of size 2 * a, I align buttons of size a (i.e. can allocate two elements), but this solutions seems super hacky and aligning spaces between elements within the cell should rely on image dimensions.

I prefer to keep my grid with cells of size a, alignment is up to the Layout group and when text is larger, merge two cells. How would it be possible to merge those?

Thanks in advance

Unity UI out of the box is pretty weak. If you go here https://bitbucket.org/ddreaper/unity-ui-extensions your life will change