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

Use SE icon for "Adust all lines" dialog #9258

Open
KoalaBear84 opened this issue Jan 23, 2025 · 0 comments
Open

Use SE icon for "Adust all lines" dialog #9258

KoalaBear84 opened this issue Jan 23, 2025 · 0 comments

Comments

@KoalaBear84
Copy link

Just a small improvement, and if there are no other icons also quick to fix.

As I don't see an easy way to check if the assigned icon is the default Windows Forms icon, I can only use the default icon for all. And if there is no other icons used, this might be OK. Else we need to find a better way. It's better to reuse the resources.

UiUtil.cs

internal static void PreInitialize(Form form)
{
    form.AutoScaleMode = AutoScaleMode.Dpi;
    form.Font = GetDefaultFont();

    form.Icon = Properties.Resources.SEIcon;
}

Before:
Image

Afer:
Image

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