personal development 2: UI scaling and resolution
- Samuel Dowding
- May 1, 2020
- 1 min read
Through some research into the topic of scaling UI elements i believe i was able to find out the information i need. i did this by looking into the unreal documentation on scaling UI and DPI settings which explained how the UI widget links and requires the DPI settings to work.
From this i have learnt that to correctly setup the UI the DPI scaling settings must be set so that the points on the graph correlate directly to the resolution of the shortest side of the mobile device your setting up for.
For one of the devices the scale was 1280x720 meaning that the DPI scale for the specific point shall be 720 and the scale factor i setup to be 1 meaning any elements will match exactly for another where the shortest side was 360 it uses a scale factor of 0.5 meaning its shrunk to match the size of the screen.
For the next week i plan to hopefully debug/ test the practice/ prototype for the UI scaling elements and hopefully no bugs or problems will occur however any problems i will attempt to fix before this time next week on the 5th of February. some of the problems that could occur are that it might not scale correctly meaning i'd have to change the scale factor depending on the exact problem.
Comments