I am developing an app that is supposed to run on multiple screen sizes,
so the size of the controls I calculate in a designer script.
On some devices everything works well, but on one device it comes out twisted.
Do you have any idea why?
I am developing an app that is supposed to run on multiple screen sizes, so the size of the controls I calculate in a designer script. On some devices everything works well, but on one device it comes out twisted.
Do you have any idea why?
This is how it looks on lenovo tab 7
This is how it looks on samsung j2
and This is how it looks on LG g6
Do you have any idea why?
the line in the designer that sets the text size are
timeLb.Top=mainPnl.Height*0.10
timeLb.Height=mainPnl.Height*0.18
timeLb.TextSize=mainPnl.Height*0.10
hebDateLb.Top=mainPnl.Height*0.27
hebDateLb.Height=mainPnl.Height*0.1
hebDateLb.TextSize=mainPnl.Height*0.04
fDateLb.Top=mainPnl.Height*0.34
fDateLb.SetLeftAndRight(0,100%x)
fDateLb.Height=mainPnl.Height*0.1
fDateLb.TextSize=mainPnl.Height*0.04
so the size of the controls I calculate in a designer script.
On some devices everything works well, but on one device it comes out twisted.
Do you have any idea why?
I am developing an app that is supposed to run on multiple screen sizes, so the size of the controls I calculate in a designer script. On some devices everything works well, but on one device it comes out twisted.
Do you have any idea why?
This is how it looks on lenovo tab 7
This is how it looks on samsung j2
and This is how it looks on LG g6
Do you have any idea why?
the line in the designer that sets the text size are
timeLb.Top=mainPnl.Height*0.10
timeLb.Height=mainPnl.Height*0.18
timeLb.TextSize=mainPnl.Height*0.10
hebDateLb.Top=mainPnl.Height*0.27
hebDateLb.Height=mainPnl.Height*0.1
hebDateLb.TextSize=mainPnl.Height*0.04
fDateLb.Top=mainPnl.Height*0.34
fDateLb.SetLeftAndRight(0,100%x)
fDateLb.Height=mainPnl.Height*0.1
fDateLb.TextSize=mainPnl.Height*0.04