[gui] Refactor to simplify custom Widgets

3 jobs for 196_gui_kernel