Hi, I’ve got a Canvas Scaler set to Constant Phyisical Size in Points units, so that I can show chat messages at the same size no matter the device. the Chat messages are displayed in a ScrollView Content holder.
All this works fine but I need to set the height of the Content holder to change it’s height based on the screen height of the device.
Do do this I need to be able to convert Screen.height to my Constant Physical size units, which is Points. I understand that I need the dpi of the device in the calculation but am lost on what to do with dpi and Screen.height from there.
Can anyone help with the calculation needed?