Reputation: 159
Developing with GeneXus: I am trying to use this image as a Background for a Button in the Application Bar (iOS):
However, when I execute the app it always shows like this (blue):
I already tried to set the button class back/fore color to "white". Did the same for the ApplicationBar class (Default Button Class). Still it's blue.
I played a little with the button properties and... when I set the "Priority" to "High" it finally becomes white (but in the top bar - I want the button in the bottom).
How can I make it white / png color?
Upvotes: 0
Views: 241
Reputation: 535945
Your image is being rendered as a template image, so its colors don't matter - only transparency matters - and it is tinted with the tintColor
. To change the color, change the tintColor
(of the button or of the surrounding bar). Alternatively, derive an image whose rendering mode is .AlwaysOriginal
; now your colors do matter.
Upvotes: 0