ButtonTable: taller buttons for easier tap (#5554)

This commit is contained in:
poire-z
2019-11-01 01:52:05 +01:00
committed by GitHub
parent 602a821acc
commit eb8795e4e0
3 changed files with 17 additions and 3 deletions

View File

@@ -59,7 +59,8 @@ function ButtonTable:init()
max_width = (self.width - sizer_space)/column_cnt - 2*self.sep_width - 2*self.padding,
bordersize = 0,
margin = 0,
padding = 0,
padding = Size.padding.buttontable, -- a bit taller than standalone buttons, for easier tap
padding_h = 0, -- allow text to take more of the horizontal space
text_font_face = self.button_font_face,
text_font_size = self.button_font_size,
show_parent = self.show_parent,