Add function flint_get_widgets and clean up spacing