Skip to content

Fix PC2 ToolButtonStyle margins

Noah Davis requested to merge work/ndavis/fix-pc2-toolbutton-margins into master

Previously, it was trying to use the margins of toolbutton-hover for flat buttons, but toolbutton-hover doesn't have real margins (0.001 since 0 isn't valid).

BUG: #425255

Before:

Screenshot_20200813_162651

After:

Screenshot_20200813_162742

icon-only buttons are still square:

Screenshot_20200813_162809

cc: @teams/vdg

Edited by Noah Davis

Merge request reports