Skip to content

Add horizontal_padding to IconButton#3213

Merged
Frenzie merged 1 commit intokoreader:masterfrom
poire-z:menuiconpadding
Sep 13, 2017
Merged

Add horizontal_padding to IconButton#3213
Frenzie merged 1 commit intokoreader:masterfrom
poire-z:menuiconpadding

Conversation

@poire-z
Copy link
Copy Markdown
Contributor

@poire-z poire-z commented Sep 12, 2017

See #3194 (comment) and next comment.
Added padding to IconButton, so that icon image and this padding are tapable.
TouchMenu (top menu) and ConfigDialog (bottom menu) updated to make use of that. This provides a wider sensitivity to menu buttons.

Top menu looks unchanged. Noticed a thing that was already there: the line under icons does not go as far to the right screen border as it does on the left. Couldn't figure how to fix that (didn't really understand the bar_sep business there...)
For the bottom menu, we should choose how wide we want the icons (3 alternatives in the code: i let in something similar to top menu).

TouchMenu (top menu) and ConfigDialog (bottom menu) updated
to make use of that. This provides a wider sensitivity to
menu buttons.
@Frenzie
Copy link
Copy Markdown
Member

Frenzie commented Sep 12, 2017

Looks good. I'll test it tomorrow. 👍

@Frenzie Frenzie merged commit bccbf95 into koreader:master Sep 13, 2017
@poire-z poire-z deleted the menuiconpadding branch September 13, 2017 09:56
@Frenzie Frenzie mentioned this pull request Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants