Fix title icons.

This commit is contained in:
Michael 2017-02-17 13:22:54 -05:00
parent 8448ee3479
commit a6b5785f05

View file

@ -323,6 +323,7 @@ namespace ShiftOS.WinForms
{
pnlicon.Show();
pnlicon.Size = new Size(16, 16);
pnlicon.BackColor = Color.Transparent;
pnlicon.BackgroundImage = GetIcon(this.ParentWindow.GetType().Name);
pnlicon.BackgroundImageLayout = ImageLayout.Stretch;
pnlicon.Location = LoadedSkin.TitlebarIconFromSide;