Open jscalo opened 3 years ago
please review this issue for target Milestone, Inconsistencies & Priority upon triage.
We need to investigate how this behaves on other platforms to determine the current behavior and what the expected behavior should be.
FWIW we ended up making a custom button type to handle this which replaces Actions/ActionSets entirely.
Pushing it out to the short-term milestone since the mitigation is available. @jscalo
@RebeccaAnne, I removed myself from the assignee since this is a feature request that affects all platforms.
Decision (from #5567) was to match JS behavior: iconSize
should always be honored (it will no longer be sized to match text height). Default also changed to 16.
Platform
Author or host
Host
Version of SDK
2.4.6
Details
There doesn't appear to be any way to control the size of an icon in a button/action. E.g.:
Results in this card:
The actual size of "big-heart.png" is 44x44px. The button is huge (because I set the height to
stretch
) but the rendered size of the icon is just 27x26pt.I tried adding
ActionsConfig.iconSize
to the host config but that had no effect. Neither didActionsConfig.iconPlacement
.Our card designs often include buttons with an icon and no title, and these icons need to appear at a specific size to match the design.