https://kotlinlang.org logo
#compose
Title
# compose
d

dimsuz

07/09/2022, 10:18 AM
I noticed that
IconButton
(on the screenshot it's inside a
Button
content slot) has "rounded" tap area. When rendered using Compose Desktop I can actually misclick with the mouse in the corner leading to the whole button being pressed while I'd like a "dropdown" area to react instead. Can I somehow make it to be square?
Found it: IconButton contains
rememberRipple(bounded = false, size = RippleSize)
which is hardcoded. Ended up copying
IconButton
and adjusting that to my case.