`INPUT_MARGIN_BOTTOM` and `INPUT_MARGIN_TOP` are used nowhere else but here, therefore don't need to be exposed on `ThreadUI`