Bug 1186841 - TabMenuStrip: Draw divider all the way. r=margaret
authorSebastian Kaspari <s.kaspari@gmail.com>
Thu, 23 Jul 2015 12:58:03 +0200
changeset 286869 053724fc9915da2c50ee97596c6198369c6d8db0
parent 286868 ae3706a5cb96da2f5a645f3b6867652f7b451311
child 286870 48e058ea4b7409ca33d16c74ee826f56ec970af9
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1186841
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1186841 - TabMenuStrip: Draw divider all the way. r=margaret
mobile/android/base/home/TabMenuStrip.java
--- a/mobile/android/base/home/TabMenuStrip.java
+++ b/mobile/android/base/home/TabMenuStrip.java
@@ -60,17 +60,17 @@ public class TabMenuStrip extends Horizo
         shadowPaint.setStrokeWidth(0.0f);
     }
 
     @Override
     public void draw(Canvas canvas) {
         super.draw(canvas);
 
         final int height = getHeight();
-        canvas.drawRect(0, height - shadowSize, getWidth(), height, shadowPaint);
+        canvas.drawRect(0, height - shadowSize, layout.getWidth(), height, shadowPaint);
     }
 
     @Override
     public void onAddPagerView(String title) {
         layout.onAddPagerView(title);
     }
 
     @Override