private void LoadFonts() { float scaleFactor = Settings.Get <float>(Setting.Scale); titleFont = Meiryo.GetFont(13 * scaleFactor); artistFont = Meiryo.GetFont(8 * scaleFactor); volumeFont = Meiryo.GetFont(8 * scaleFactor); lblVol.Font = volumeFont; centerPanel.SetFonts(titleFont, artistFont); }
private void LoadFonts() { var family = Meiryo.GetFontFamily(); var scaleFactor = Settings.Get <float>("Scale"); titleFont = new Font(family, 12 * scaleFactor); albumFont = Meiryo.GetFont(8 * scaleFactor); volumeFont = Meiryo.GetFont(8 * scaleFactor); lblVol.Font = volumeFont; centerPanel.SetFonts(titleFont, albumFont); }
private void LoadFonts() { var family = Meiryo.GetFontFamily(); var scaleFactor = Settings.Get <float>("Scale"); titleFont = new Font(family, 12 * scaleFactor); albumFont = Meiryo.GetFont(8 * scaleFactor); volumeFont = Meiryo.GetFont(8 * scaleFactor); lblTitle.Font = titleFont; lblTitle.Subfont = albumFont; lblAlbum.Font = albumFont; lblVol.Font = volumeFont; lblTitle.OnTextChanged(); lblAlbum.OnTextChanged(); }