Refactor ui

Having values for padding in the files will lead to differences at different DPIs