-
Notifications
You must be signed in to change notification settings - Fork 10
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
Icon too big on nested context menu #12
Comments
Not sure I have too many options to address it. The icon file is taken as is and assigned to the standard .NET WinForms menu item: var menu = new ToolStripMenuItem
{
Text = item.ToFileMenuText(),
Image = LookupImageFor(item)
}; Thus the extension itself does not participate in the menu rendering. Thus there is no mechanism to change the rendering algorithm. I am guessing there is something tricky with your monitor resolution and scaling. Under normal circumstances, as you can see the very same icon works just fine: Not sure what can be done if you have to keep your calling. Maybe you can just develop your custom icon if the benefit is worth the effort. |
- Issue #12: Icon too big on nested context menu
Sorry for the late response. Indeed there was a mistake in the image assignment algorithm for folders. |
When I put an icon for the nested context menu it appears to big.
The problem
The folder of the configuration:
I'm using the one it is included with the software, i've tried even with different icons from 32x32 and bigger, but the same happens.
I'm ond windows 10 and used chocolatey to install shell-x.
The text was updated successfully, but these errors were encountered: