setting components size by font size and default font. need to fix size setting by default font