コード例 #1
0
        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);
        }
コード例 #2
0
        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();
        }