mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 802588 - Use padding when calculating thumbnail size. r=sriram
This commit is contained in:
parent
b597057fbd
commit
f7731609b2
@ -617,7 +617,7 @@ public class AboutHomeContent extends ScrollView
|
||||
if (android.os.Build.VERSION.SDK_INT >= 16)
|
||||
s= super.getColumnWidth();
|
||||
else
|
||||
s = width / mNumberOfCols;
|
||||
s = (width - getPaddingLeft() - getPaddingRight()) / mNumberOfCols;
|
||||
|
||||
return s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user