Fix Menu (TOC, classic file browser...) right padding (#3255)

This commit is contained in:
poire-z
2017-09-24 01:08:44 +02:00
committed by GitHub
parent a4e1a3ba5e
commit c770d71f14

View File

@@ -138,8 +138,9 @@ function MenuItem:init()
end
self.detail = self.text
-- 15 for HorizontalSpan,
self.content_width = self.dimen.w - shortcut_icon_dimen.w - 15
-- account for added HorizontalSpans
self.content_width = self.dimen.w - shortcut_icon_dimen.w
- Size.span.horizontal_small - Size.span.horizontal_default
-- we need this table per-instance, so we declare it here
if Device:isTouchDevice() then