maui
maui copied to clipboard
[Catalyst] Allow setting of CancelButtonColor on SearchBar when using Mac Idiom
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
But this test will not actually run right? We have to manual change the idiom and check?
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?
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
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.MacIdiomproject 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 👍