Post 1 made on Tuesday August 21, 2007 at 12:52 |
When I change the image of a button with the setImage() method, the text remains the same color as the original image. Is this intentional?
I want to "flip" the image(see code below), giving a negative of the image when creating a scroll though a list of images. When I flip the image, the text is the same color as the background and it blends in with the new image. For instance, I have a blue background with yellow text. When I flip the image, I am expecting a yellow background with blue text but what I get is a yellow background with yellow text.
function flip(button) { tmpImage = button.getImage(0); button.setImage(button.getImage(1), 0); button.setImage(tmpImage, 1); }
//call the function from within a button: flip(this);
|
|
Post 2 made on Tuesday August 21, 2007 at 19:54 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,999 |
|
|
Yes, it is intentional. Unfortunately, you cannot control the Color or Font Size on the buttons/panels at this time via ProntoScript. I specifically requested this functionality and don't have an answer as to when we could expect something like this.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our
Marketplace. For information on how to advertise your service or product
click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.