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

Find widget too wide #2220

Closed
isidorn opened this issue Jan 25, 2016 · 11 comments
Closed

Find widget too wide #2220

isidorn opened this issue Jan 25, 2016 · 11 comments
Assignees
Labels
editor-find Editor find operations *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Jan 25, 2016

On Mac the find widget is too wide, the matches space is too large, especially in this case when I have single digit numbers. Due to this the lower checkboxes seems misaligned

screen shot 2016-01-25 at 09 54 38

@isidorn isidorn added the bug Issue identified by VS Code Team member as probable bug label Jan 25, 2016
@alexdima alexdima assigned stevencl and unassigned alexdima Jan 25, 2016
@alexdima
Copy link
Member

@stevencl Feedback starts to come in :)

@stevencl
Copy link
Member

@alexandrudima What would it take to align the replace and replace all buttons? Ideally I would think they would be left aligned (i.e., the left most edge of the replace button is left aligned with the index while the left most edge of the replace all button is left aligned with the count).

Is the 'of' in '1 of 2' in a fixed position or does it move to the right when the count is more than one digit? How feasible (and desirable) do you think it would be to refresh the layout when the count and index change?

@c5inco
Copy link
Contributor

c5inco commented Feb 9, 2016

Yeah I just saw this in the latest update. I see the value but it definitely needs some UX love. As @isidorn stated, it makes the widget way too wide (think split editor scenarios) and when expanded everything looks poorly aligned. I would considering place that text actually left aligned underneath all the controls, to look more like status text.

I don't have a mock for you unfortunately, but I think @bgashler1 can help you out there. Or if I have free cycles later this month. ;)

@stevencl
Copy link
Member

stevencl commented Feb 9, 2016

@bgashler1 - can you mock this up and then work with @alexandrudima on this?

@stevencl stevencl assigned bgashler1 and unassigned stevencl Feb 9, 2016
@bgashler1
Copy link
Contributor

Sure no problem.

@bgashler1
Copy link
Contributor

This is my proposal

2220-find-and-replace-c

2220-find-and-replace-c

Compared to current

Notice the space that we could save with this new approach (206 px).
original-vs-design-c

Addressing alignment

We can address alignment problems between index/count and the adjacent buttons by changing the max-width as pictured above. .monaco-editor .find-widget .matchesCount { min-width: 46px; }

Thoughts?

@bgashler1 bgashler1 changed the title FInd widget too wide Find widget too wide Feb 10, 2016
@bgashler1
Copy link
Contributor

_Note to self:_
Just talked with Isidor, and we need 4 digit support. Max value (999+).

Also address the less-nice-looking red "no results".

Make this consistent with the search viewlet.

@alexdima alexdima added the editor-find Editor find operations label Jun 26, 2016
@alexdima alexdima self-assigned this Jun 26, 2016
@alexdima alexdima added this to the Backlog milestone Jul 5, 2016
@rebornix rebornix assigned rebornix and unassigned bgashler1 Apr 28, 2017
@rebornix rebornix modified the milestones: May 2017, Backlog May 6, 2017
@rebornix rebornix modified the milestones: Backlog, May 2017 May 24, 2017
@rebornix
Copy link
Member

I don't have a good idea about how to handle those whitespaces right this moment. Push it to later iteration.

@vscodebot
Copy link

vscodebot bot commented Sep 12, 2018

This iteration we focus on issue grooming. This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed Sep 12, 2018
@isidorn
Copy link
Contributor Author

isidorn commented Sep 18, 2018

fyi @misolori maybe you have some good idea and if you also think this is an issue we can consider to reopen this

@rebornix
Copy link
Member

rebornix commented Sep 18, 2018

I mark this as out-of-scope because I don't know yet how to make this possible but not make it complex. If @misolori has ideas of improving the find widget in anyways, we can reopen it.

@isidorn isidorn removed the bug Issue identified by VS Code Team member as probable bug label Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-find Editor find operations *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

7 participants