Replace magic numbers with constants

All hardcoded size values have been replaced by constants or at least an approximate multiplier has been added. This enables high DPI support - is a high DPI screen is detected, modRana will use a different set of constants and a different approximate multiplier. As a result, the GUI should look good both on normal DPI device and high DPI devices.