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

Update ui-grid-column-resizer.js #2416

Closed
wants to merge 3 commits into from
Closed

Conversation

@OrenHasbani
Copy link

OrenHasbani commented Dec 22, 2014

Double click won't cut the longest value in the column.
fix issue #1965:
#1965

Review on Reviewable

Double click won't cut the longest value in the column. issue #1965.
@c0bra c0bra added the unknown label Dec 22, 2014
@c0bra
Copy link
Member

c0bra commented Dec 22, 2014

Have you tested this on several different browsers? If so, does it function the same way? I'm always hesitant to hard-code pixel values in calculations because invariably there's some browser or browser+OS combo that does things differently and will cause things to break in unexpected ways.

It was tested in chrome, FF and IE (latest versions)
17 px is the minimum to work with all the three browsers (IE is the problem, chrome and FF are looking good with extra 2 px)
There is no problem if the header is the longest value (so only if it's not an header cell i want to add 17 px).

I don't have a solution for you If you don't want to write hard coded px.
@OrenHasbani

This comment has been minimized.

checks if it is header cell (without menu-button)

@OrenHasbani

This comment has been minimized.

The minimum width that fits to all 3 browsers
That means that all of them don't cut any value.

@OrenHasbani

This comment has been minimized.

It is not needed any more cause the calculation is done before.

@OrenHasbani
Copy link
Author

OrenHasbani commented Dec 22, 2014

It was tested in chrome, FF and IE 11 (latest versions)
17 px is the minimum to work with all the three browsers (IE is the problem, chrome and FF are looking good with extra 2 px)
There is no problem if the header is the longest value (so only if it's not an header cell i want to add 17 px).

I don't have a solution for you If you don't want to write hard coded px.

@c0bra c0bra self-assigned this Feb 19, 2015
@c0bra c0bra added investigating and removed unknown labels Feb 19, 2015
@mportuga
Copy link
Member

mportuga commented Sep 20, 2016

The issue in question appears to have been marked close already. Closing this PR.

@mportuga mportuga closed this Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.