Hi Fabian,
Try to set the MinScrollSize property of the NUIPanel to the size of the containing rectangle of the controls in it.
For example you can modify the code you post as follows:
int
{
m_Button2 =
m_Button2.Dock =
m_Button2.Text =
m_Panel.Controls.Add(m_Button2);
height += m_Button2.Height;
}
m_Panel.MinScrollSize =
I hope it helps.
Regards,
Angel.