HeaderView: Fix padding

pull/859/head
Alinson S. Xavier 5 years ago
parent 298bf1a538
commit 071b6bd090

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -122,7 +122,7 @@ class HeaderView(
repeat(buttonCount) { index ->
rect.set(0f, 0f, width, height)
rect.offset(canvas.width.toFloat(), 0f)
rect.offset(canvas.width.toFloat() - dp(3.0f), 0f)
if (isReversed) rect.offset(-(index + 1) * width, 0f)
else rect.offset((index - buttonCount) * width, 0f)

Loading…
Cancel
Save