Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Ui.image only displays the silhouette?
-
Hello!
B1 = ui.Button() B1.image = ui.Image.named('emj:Skull')
it only displays the silhouette and not the image itself.
To clarify I want the button to look like a skull and not have an icon on the button with the skull.However it does not look so good since it's only displays the shape/silhouette and not image
What Im doing wrong?
-
Use original rendering mode to get the "normal" image.
E.g.:
icon = ui.Image(image_name).with_rendering_mode(ui.RENDERING_MODE_ORIGINAL)
-
@mikael ok gonna try that. Thanks!
-
@mikael it worked! Looks great now. Thank you