I need help. I have a panel that I use at the top of the app and inside I applied a label.
I fits panel and label on the device with these instructions.
LabelTitle.SetLayout(0,0,PanelTitle.Width,PanelTitle.Height)
LabelTitle.TextSize=LabelTitle.Height / 2
Seemed to go well but with the increase of the height of the device the logic of the instructions does not work.
How can I adjust the size of the font according to the height of the label?
In attached two screenshots taken from devices with different resolutions.
Thanks for your support.