Fix indentation
Add scale factor to widgets
Add scale factor to rendering