maui icon indicating copy to clipboard operation
maui copied to clipboard

[Catalyst] Allow setting of CancelButtonColor on SearchBar when using Mac Idiom

Open mikeparker104 opened this issue 1 year ago • 2 comments
trafficstars

Description of Change

Update to SearchBarExtensions so UpdateCancelButton sets the TintColor on the Cancel UIButton when using Mac idiom. Device test added verifying the changes for Mac Catalyst and iOS.

Issues Fixed

Fixes #18110

mikeparker104 avatar Jan 11 '24 20:01 mikeparker104

But this test will not actually run right? We have to manual change the idiom and check?

rmarinho avatar Jan 11 '24 20:01 rmarinho

But this test will not actually run right? We have to manual change the idiom and check?

Correct. Shall we create an issue for device testing Mac Idiom similar to https://github.com/dotnet/maui/issues/19288?

mikeparker104 avatar Jan 11 '24 20:01 mikeparker104

But this test will not actually run right? We have to manual change the idiom and check?

What would be the best option here? Create a Controls.DeviceTest.MacIdiom project with specific tests for Mac user interface idiom? https://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/user-interface-idiom?view=net-maui-8.0

jsuarezruiz avatar Jan 12 '24 08:01 jsuarezruiz

But this test will not actually run right? We have to manual change the idiom and check?

What would be the best option here? Create a Controls.DeviceTest.MacIdiom project with specific tests for Mac user interface idiom? https://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/user-interface-idiom?view=net-maui-8.0

@jsuarezruiz created issue #19856 to consider future approach to device testing using Mac Idiom 👍

mikeparker104 avatar Jan 12 '24 08:01 mikeparker104