openpsa / jsgrid

Fork of last jqGrid version before license change
http://openpsa.github.io/jsgrid/
Other
28 stars 12 forks source link

setting the height property causes the horizontal scroll to unnecessarily appear #98

Closed bchr02 closed 9 years ago

bchr02 commented 9 years ago

Setting the "height" property causes the horizontal scroll to unnecessarily appear when the vertical bar is needed. (This happens in Chrome but not in IE. Haven't tested it in any other browser.)

Even if the "width" property is defined and is more than wide enough to handle the table, the issue still occurs.

Example shown here: https://www.tesllc.aero/temp/jqgrid/

The only way that I have been able to temporarily fix this is by adding the following css:

.ui-jqgrid .ui-jqgrid-bdiv {  overflow-x:hidden; }
bouks commented 9 years ago

Hi.

I don't see this bug in your example. Could you tell us your configuration ?

flack commented 9 years ago

Tested with Chrome and Firefox under Linux, but I don't see a horizontal scrollbar either:

chrome

BTW: I've made some changes to the border rendering recently (see #88). theoretically, they should not have any effect on your issue, but who knows. You could try updating the CSS and see if it changes anything

bchr02 commented 9 years ago

I am using Chrome version 40 (most recent) on Windows 7.

After seeing your replies, I tried it on a similar computer and was also not able to replicate it. Then I remembered that I have Windows Custom Font Scaling set to 110%. I bet that is what is causing it. Unfortunately changing it back to 100% requires a log off and I can't do that right now.

I guess we can chalk it up to a Chrome bug. This is the first time having that setting set to 110% caused a web page to render differently. It normally would only help with Windows GUI fonts...

Thanks for your help guys.