Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to increase the font of the context menu (mpvnet) #5

Closed
ghost opened this issue Mar 8, 2019 · 2 comments
Closed

Is there a way to increase the font of the context menu (mpvnet) #5

ghost opened this issue Mar 8, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2019

This is a question, not a bug. I tried to find a way to increase the right menu font size but i couldn't.

Is there a way to do it ?
Thanks

@stax76
Copy link
Collaborator

stax76 commented Mar 8, 2019

I made same change so you can do it with a new build:

https://github.com/stax76/mpvnet/releases

you have to create a script here:

C:\Users\frank\AppData\Roaming\mpv\scripts\font.cs

your code:

using System;
using System.Drawing;

using mpvnet;

class Script
{
    public Script()
    {
        var form = MainForm.Instance;
        form.Invoke(new Action(() => form.CMS.Font = new Font("Segoe UI", 12)));
    }
}

@ghost
Copy link
Author

ghost commented Mar 9, 2019

Thank you it has worked perfectly!!

@ghost ghost closed this as completed Mar 9, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant