set icon size according to the font size in repo tree

Relates to PR #91. Unfortunately I cannot reopen an already merged PR and set it on top - sigh. Anyways, a short review would be nice.