Skip to content

Search box small #154

Open
Open

Description

@a59

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?

Activity

  1. yuuki0xff commented on May 21, 2018

    @yuuki0xff
    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.

  2. self-assigned this
    on May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions