2

I have a button very small (18 x 18 pixels) and I would like to programmatically extend its touch target size.

Is it possible?

How?

Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
  • 1
    Why programmatically? You could alter the button template to include an active padding while keeping the button "same size" – Martin Zikmund Feb 26 '19 at 08:34
  • I would like to extend the touch target size conditionally (e.g. if the user is using a finger or the mouse), therefore I need programmatic access to this feature. – Cristiano Ghersi Feb 26 '19 at 16:32
  • Wouldn't Adaptive triggers do the job? For example this repo offers Input Type trigger - https://github.com/Herdo/AdaptiveTriggerLibrary – Martin Zikmund Feb 26 '19 at 16:38

0 Answers0