I'm creating a game (minesweeper) for my Windows Phone.
There is a grid and this app automatically creates buttons (cells) by a double for loop (i
for columns and j
for rows).
The position of a button is (CellWidth * i, CellHeigth * j, 0, 0)
.
The problem is the space between the buttons, and I don't know why it exist! By code there isn't any space between the buttons.