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
Preview pane placement #478
Comments
If the panes are side-by-side in portrait mode, they'd be tall and narrow. That's an option you want? Just making sure this isn't a request for side-by-side in landscape mode, where a responsive UI would solve it without adding a button or configuration. |
Basically, right now (as-is) there is a right and a left pane. What i would like is the option to disable the right pane, and instead have the preview under the search results box. I hope that is clear enough? EDIT: making this behavior automatic through a responsive UI, would of course be one option of achieving this. Another would be a manual setting. I'd be fine with whatever option. |
Just like that. |
@doug24 I think a simple approach to making it responsive would be: Set |
I have a pull request that adds the second (bottom) docking location. In this PR, there is a context menu to select either the right or bottom dock location. It will save and restore the dock location and size, both when undocking and stopping/restarting dnGrep. I think this is sufficient to solve the problem. There are additional possible enhancements:
Anyone with thoughts or comments? |
I like "if it is wider than tall, it will dock to right; if it is taller than wide, then it will dock to the bottom". I have a hard time seeing use cases beyond that. We're not PhotoShop or a CAD tool. I think the current dock/float should be fine. Just change which grid cell the dock occupies in the main window, done in the window's size changed event. |
Added in release v2.9.319. |
Hi! I usually snap dnGrep to the right or left on my screen (50%) which makes the window ratio more portrait than landscape, meaning my window will have more space on the height than the width. I would really appreciate a setting for where you would set where you like your preview window to be located (stacked under the rest of the boxes, or on the side).
I suppose one could just detach the preview window, but then you have another button in the windows task bar (without a name), and you have to minimize and move them individually every time.
The text was updated successfully, but these errors were encountered: