Issue #5476: Fix layout issue

Issue #5476
@larz0 to look at it.
cc @redmunds

Note: this doesn't fix the issue with the git extension dialog this is a separate issue as i mentioned in #5476
It does fix the install extension and the error dialog.