Is quite easy actually, i would prefer you to use group since “button” don’t have conditional state for “button type” all you need to do is…


Use condition like that based on the pixel you want it to be
Don’t forget to check “collapse when hidden”
Don’t forget to check your group into “fit width to content” (optional)