1

I'm trying to make a ToggleButton as small as possible while still retaining the image; however, when the button has focus it moves the image to the right and partially hides it. How can I overcome this? I've tried padding and margins but neither seemed to work.

Here's an example: http://preview.tinyurl.com/8y4arrl

Thanks for the help!

Jonathan
  • 894
  • 2
  • 9
  • 20

1 Answers1

1

I could reproduce the issue when toggling the button twice (on - off), and then moving between hovered and not hovered. Please open a bug for this. It has to do with the decoration of the focussed and hovered states, but only shows when you set dimensions and padding as you did. Please add your Playground link and describe the procedure (on - off - hover - not hover). Thanks.

ThomasH
  • 22,276
  • 13
  • 61
  • 62