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

Search box small #154

Open
a59 opened this issue May 11, 2018 · 1 comment
Open

Search box small #154

a59 opened this issue May 11, 2018 · 1 comment
Assignees

Comments

@a59
Copy link

a59 commented May 11, 2018

I have just installed nvpy on Window 7. I have noticed that the search box is small; the text that I type is taller than the space in which to type it. Is there a configuration parameter to make the height of the search box taller?

@yuuki0xff
Copy link
Collaborator

I succeeded to reproduce this problem under those conditions.

The cause of this problem is that the height of background image are fixed.
The search box has an background image consists borders and magnifying glass icon. The width of image can be easily adjusted to width of the search box. But height of image can not easily adjusted because a magnifying glass icon will be distorted :-(

WORKAROUND:
If you don't care about design of the search box, remove style="Search.entry" argument from nvpy/view.py:1299.

# Before
self.search_entry = TriggeredcompleteEntry(search_frame, self.config.case_sensitive, textvariable=self.search_entry_var, style="Search.entry")
# After
self.search_entry = TriggeredcompleteEntry(search_frame, self.config.case_sensitive, textvariable=self.search_entry_var)

I will fix this problem at a later date.

@yuuki0xff yuuki0xff self-assigned this May 21, 2018
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

2 participants