What is btnHome supposed to do?
You should not reload the same layout!
You are mixing up some principles:
- You use AutoScaleAll.
- Then you resize all the views with %x and %y, this overrides AutoScale for the dimensions and position but not for the text size.
- And in the code you set scv.Panel.Height = 2500dip to a given fixed value 2500dip, why? You should use scv.Panel.Height = pnBotoes.Height.