Wireshark-commits: [Wireshark-commits] master-2.0 c17d978: QCP: Fix retina label	calculations.
      
      
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c17d97829615885470ca09e373b495cab5b0a170
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
c17d978 by Gerald Combs (gerald@xxxxxxxxxxxxx):
    QCP: Fix retina label calculations.
    
    The retina fixes in gb10bad1 and gb3f3d66 were incomplete and caused
    rendering problems in our axis labels. Handle the device pixel ratio in
    a couple of more places so that our axis rects are correctly sized.
    
    Add a switch (WS_ENABLE_DP_RATIO) to make it easy to turn scaling on and
    off.
    
    Change-Id: I633d94d633e0743be2a607c9a4cbb3409e9eed62
    Ping-Bug: 11710
    Reviewed-on: https://code.wireshark.org/review/13834
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit 0af5ef3fce9f6eb72d4d45b4424a4f219f7cb976)
    Reviewed-on: https://code.wireshark.org/review/13843
    
Actions performed:
    from  df9de2f   Prep for 2.0.2.
    adds  c17d978   QCP: Fix retina label calculations.
Summary of changes:
 ui/qt/qcustomplot.cpp |   24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)