Hi Tommy, please help to review, thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (image) {I updated around here to make the image/symbol in white color but failed, could you please help, thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This CLLooks like maybe your CL description didn't save?
if (image) {I updated around here to make the image/symbol in white color but failed, could you please help, thanks!
I'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).
This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi Gauthier, please help to review ios/chrome/browser/shared/ui/symbols/ and ios/chrome/common/ui/button_stack/, let me know if it's the correct way to add primary button image, thanks!
Looks like maybe your CL description didn't save?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (image) {Tommy MartinoI updated around here to make the image/symbol in white color but failed, could you please help, thanks!
I'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).
This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.
I am not sure to understand what you want to achieve as there is no bug number.
Could you add a screenshot of what you get and what you want to achieve?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (image) {Tommy MartinoI updated around here to make the image/symbol in white color but failed, could you please help, thanks!
Gauthier AmbardI'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).
This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.
I am not sure to understand what you want to achieve as there is no bug number.
Could you add a screenshot of what you get and what you want to achieve?
oops, I forgot to attach screenshot and mock, updated in the CL description, thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
config.image = self.configuration.primaryActionImage;@ewa...@chromium.org why did we restrict the buttons to have only checkmark or spinner? Are we supposed to be able to set images?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
config.image = self.configuration.primaryActionImage;@ewa...@chromium.org why did we restrict the buttons to have only checkmark or spinner? Are we supposed to be able to set images?
To enforce strict visual uniformity on primary ChromeButton. https://crsrc.org/c/ios/chrome/common/ui/util/chrome_button.mm?q=setPrimaryButtonImage
the image could be set in the subclass after viewDidLoad like
```
UIButtonConfiguration* config = self.primaryActionButton.configuration;
config.image = DefaultSymbolTemplateWithPointSize(
kCreditCardFinderActionSymbol, kSymbolActionPointSize);
self.primaryActionButton.configuration = config;
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |