Description
When fixing #10293 I wanted to add a device test to see if the Button size changes after CharacterSpacing changing, but I wasn't able to getting it working.
Creating this issue to track and look at adding the test again when I have more time, or someone else as a good idea how to do it.
what I was trying :
[Yesterday 17:07] Rui Marinho
await InvokeOnMainThreadAsync(async () =>
{
var handler = CreateHandler(button);
await handler.PlatformView.AttachAndRun(async () =>
{
var initialFrame = handler.PlatformView.Bounds;
button.CharacterSpacing = xplatCharacterSpacing;
await Task.Delay(1000);
var afterFrame = handler.PlatformView.Bounds;
Assert.True(afterFrame.Width > initialFrame.Width);
});
});
Steps to Reproduce
Try add test above
Link to public reproduction project repository
none
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
all
Did you find any workaround?
No response
Relevant log output
No response
Description
When fixing #10293 I wanted to add a device test to see if the Button size changes after CharacterSpacing changing, but I wasn't able to getting it working.
Creating this issue to track and look at adding the test again when I have more time, or someone else as a good idea how to do it.
what I was trying :
Steps to Reproduce
Try add test above
Link to public reproduction project repository
none
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
all
Did you find any workaround?
No response
Relevant log output
No response