You can code for these fairly easily. As an example, they used a hard pixel amount for the size of the UI element, when they could have used a percentage of screen size or resolution. Same amount of code, with the latter being far more flexible.
So to answer your question in 2024 this should not even be an issue because multi resolution displays and aspect ratios exsist..