• 
      

    Use whole pixels when auto-setting the datagrid height.

    Review Request #7209 — Created April 15, 2015 and submitted

    Information

    Djblets
    release-0.8.x
    2df8dc4...

    Reviewers

    When calculating the desired datagrid height, based on the page height,
    the value wasn't always an integer. This led to styling problems. We now
    round up to the nearest full integer value when setting the height.

    Saw the value went from being a number like 461.492818px to 462px.

    reviewbot
    1. Tool: Pyflakes
      Ignored Files:
          djblets/static/djblets/js/datagrid.js
      
      
      
      Tool: PEP8 Style Checker
      Ignored Files:
          djblets/static/djblets/js/datagrid.js
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.9.x (277f661)