Change the colour of icons and emojis
-
In the icons and emojis, there are a selection of black and white “things”, I’ll call them icons until corrected.
I’ve generally just been using the black ones but I’ve decided I want to display one in red and change the colour at will.
Are you in fact able to do that? ie just change any black to any arbitrary RGB value
-
@daveM If I correctly understand, try:
import ui v = ui.View() bi = ui.ButtonItem() bi.image = ui.Image.named('iob:bag_32') bi.tint_color = 'green' v.right_button_items = (bi,) b = ui.Button() b.frame = (10,10,32,32) b.tint_color = 'red' b.image = ui.Image.named('iob:bag_32') v.add_subview(b) v.present('sheet')