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

Layout broken on 4k screen #37

Closed
tiomanisland opened this issue Apr 5, 2023 · 13 comments
Closed

Layout broken on 4k screen #37

tiomanisland opened this issue Apr 5, 2023 · 13 comments
Labels

Comments

@tiomanisland
Copy link

I have Dell XPS 17, 4k screen. When I try to use this plugin, line spacing is too small, lines overlap and it is impossible to use it. Is it possible to fix this?

@tiomanisland
Copy link
Author

HELLO?

@young-developer
Copy link
Owner

young-developer commented Apr 13, 2023 via email

@Ythan
Copy link

Ythan commented May 16, 2023

I'm not the original submitter of this bug, but I am also affected. It looks like it doesn't properly account for the display scaling setting in Windows. In this screenshot I am using 250% scaling.

Thanks for the useful plugin and please let me know if there's anything I can do to help debug.

@young-developer
Copy link
Owner

@Ythan Is it only for docked version?
P.S. I tested different scalings and it scales well.

@tiomanisland
Copy link
Author

Exactly same here. I use normal version. Notepad++ and this plugin downloaded from plugin manager. Windows 11, 4k screen.

@young-developer
Copy link
Owner

@Ythan @tiomanisland Please could you send me plugin`s Settings page?

@young-developer
Copy link
Owner

I cant confirm fix because I dont have 4k monitor for testing. I enabled DPI scaling of the form you can find compiled version here: https://ci.appveyor.com/project/young-developer/nppnavigateto/history

@Ythan
Copy link

Ythan commented May 22, 2023

Awesome, 2.4.3.91 is definitely improved. The input field is now sized properly, although the column headers are still too small. Seems like you're on the right track though. Thank you for your attention to this bug!

Not sure if it's still relevant, but to answer your questions: it doesn't matter if the plugin is docked or windowed, and the settings are as follows:

[NavigateTo]
columnNameWidth=24
columnPathWidth=66
columnSourceWidth=10
keepDlgOpen=1
gridMinWidth=300
sortAfterFilterBy=-1
sortOrderAfterFilterBy=0
gridTextColor=-16777216
gridSelectedRowBackground=-16746281
gridSelectedRowForeground=-16777216
gridBackgroundColor=-5526613
highlightColorBackground=-23296
rowBackgroundColor=-1

@young-developer
Copy link
Owner

@Ythan I added fixed header size (here). Also I recommend to set higher values for settings: gridMinWidth, if you use docked version of the plugin.

@Ythan
Copy link

Ythan commented May 24, 2023

Thank you for the update. I have doubled the gridMinWidth setting and installed 2.4.3.92 of the plugin, however the column headers still apppear to be truncated.

@young-developer
Copy link
Owner

@Ythan I changed to AutoSize for headers. Not sure if it can fix because it is handled by Windows. Please double check latest version (here).

@Ythan
Copy link

Ythan commented May 24, 2023

It works! Version 2.4.3.93 displays exactly as expected and looks right at home now with DPI scaling enabled. Thank you again for your attention to this bug, especially considering it didn't even affect your setup. Hopefully some other users will also benefit.

@young-developer
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants