Commit 0cd5f85
committed
fix(library): inset row-action icons to match status-icon padding
The Select / Teleport / Remove buttons on the Instantiated tab were
rendering their icons at the full 80x80 button area, so the icon
strokes ran right up to (and sometimes past) the colored bevel
edges. The row's left-side status icons (which use PE Image Simple
Square) don't have this problem — that prefab insets the icon
RectTransform with sizeDelta -30, leaving a 15px margin on each
side.
Apply the same sizeDelta -30 to the three row-action button icons
after SetIcon, so their padding matches the status-icon column.1 parent 5e1cecf commit 0cd5f85
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1955 | 1955 | | |
1956 | 1956 | | |
1957 | 1957 | | |
| 1958 | + | |
| 1959 | + | |
1958 | 1960 | | |
1959 | 1961 | | |
1960 | 1962 | | |
| |||
1979 | 1981 | | |
1980 | 1982 | | |
1981 | 1983 | | |
| 1984 | + | |
1982 | 1985 | | |
1983 | 1986 | | |
1984 | 1987 | | |
| |||
2012 | 2015 | | |
2013 | 2016 | | |
2014 | 2017 | | |
| 2018 | + | |
2015 | 2019 | | |
2016 | 2020 | | |
2017 | 2021 | | |
| |||
0 commit comments