-
Notifications
You must be signed in to change notification settings - Fork 861
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
Ensure left search results panel is always visible. #8088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this was nagging at me: There is also BasicReplaceResultsPanel
. This looks as if it should get the same treatment.
Good catch - I'll take a look. Oh boy, I really hate copy pasted code. Will try to deduplicate this a bit if possible. |
initialize divider position with a minimal value.
- BasicReplaceResultsPanel extends BasicSearchResultsPanel - less code duplication
fc77252
to
6635544
Compare
@matthiasblaesing added the change to the first commit. The second commit refactors the two panels ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might have to bikeshed the 250px value at some point, but as it is saved, it should be ok. So makes sense to me. Thank you.
initialize divider position with a minimal value. This will always reset the value to at least 250 even if it is changed by the user to less.
fixes #8064
I could reproduce this sometimes with
I believe what happens in this case is that the divider isn't initialized (which is fine by itself) but the computed width of the left panel is 0 for some reason too (which is not ok).