Display random count of items in a screen

Aleksandrs Maksimovs 40 Reputation points

I have a screen with random count of buttons.

I can place only 3 buttons in a row.

How can I move additional buttons to a new row? Like DIVs in HTML.

Ex. if you have 2 buttons, they are shown in a 1 row

if you have 4 - 3 in 1 row, 1 in 2d row

if 7- 3 in first, 3 in second, and 1 in 3d row.


A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,828 questions
{count} votes

0 additional answers

Sort by: Most helpful