xamarin/Xamarin.Forms
[Bug] iOS Button with FontIconSource: Icon jumps around when changing text
开放
#9,021 创建于 2019年12月26日
a/fonticone/4 :clock4:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
When changing the text on a button with a FontImageSource, the icon jumps around. In my project the text is set via DataTriggers.
Steps to Reproduce
- Add a button with data triggers to a page, where the data triggers are bound to a viewmodel and change the text according to the bound value
- Add an icon to the button via FontImageSource
- change the bound value and observe the icon jumping
Expected Behavior
Only the buttons text changes
Actual Behavior
The buttons text changes as expected but the icon "jumps around"
Basic Information
- Version with issue: 4.4
- iOS Only
Screenshots
