Update: fixed the FontSize function error and the panel design