Skip to main content
Question

Alignment issue in boolean operation

  • April 13, 2023
  • 1 reply
  • 284 views

Arsh_Aneja

Hi,
I used material guidelines to create a button, and I gave the icon a boolean operation to control whether it was visible or not.
Everything works as it should when the icon toggle is turned on, but when I turn off the toggle i.e. hide the icon, the text does not centre itself. I want padding of 24 pixels on both sides.

Here’s the file link: https://www.figma.com/file/zpBzYV026xs2gA0zceVbtP/Untitled?node-id=1%3A9&t=8MMLg5hNRXCevgq3-1

This topic has been closed for replies.

1 reply

  • 0 replies
  • May 13, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings