I have created a dialog in windows mobile which contains dynamically created radio buttons and some static texts in a tabular form. The list grows up at runtime based on the different data. e.g.
static text1 button1 button2 button3
static text2 button1 button2 button3
buttons are grouped in rows only.
Now When I created the dialog with as much as 23 rows of these controls, it was behaving absolutely fine. But when i increased the no. of rows by one only the alignment of these controls were disturbed. I am wondeing why this happened?
Also I have added vertical scroll to scroll the dialog for these controls to show correctly. and I am increasing the height of the dialog based on the no. of rows i am getting to display.
Is it caused due to scrolling or is it due to the creation of controls? I am completely blank here. please suggest some way to identify the problem or advise any solution.