FontAwesome.Sharp
FontAwesome.Sharp copied to clipboard
Image and text are not horizontal aligned.
Please see the pic, the first control is a toolstriplabel, and the second is a icontoolstripbutton, there are 2 problems:
- It seems that the horizontal central line of image is a little higher than text on each control;
- the horizontal central line of content on toolstriplabel is a little than that on icontoolsstripbutton.
For toolstriplabel :
GlobalImageList.AddIcons(Color.Red, IconHelper.DefaultSize, new IconChar[] { IconChar.UserAlt});
GlobalImageList.ImageSize = new Size(28,28);
lblUser.Image = GlobalImageList.Images[2];
For icontoolstripbutton: all settings are done in property wiindow directly.
Font of them is Microfoft Yahei UI. Image Size : 28 Control with property ImageScaling will be set None.

Env: win10 + .net framework 4.8 + winform
Hi @WilliamQue ,
Not sure what to do about it. Looks more like an alignment issue with the toolstrip label itself.