Page 1 of 1

button with .gif

Posted: Thu Mar 18, 2010 2:13 pm
by l3whmg
Ciao a tutti,
I've found a problem or I don't understand about image for buttons.
If I use a .gif image in toolbar buttons works fine, instead if I use the same .gif for a button alone, the image is not displayed.
I want use the same transparent image everywhere and bmp have a "false" transparent background.
I've included a little example.

Many thanks to everyone.

Re: button with .gif

Posted: Sat Mar 20, 2010 9:45 am
by l3whmg
Hi guys,
no one can help me to understand? If it's not a bug, someone can give me a good example how can i use a gif in a button?
Many thanks in advanced.

Re: button with .gif

Posted: Sat Mar 20, 2010 4:33 pm
by Rathinagiri
Hi Luigi,

Let me check and come with a solution soon. :)

Re: button with .gif

Posted: Sat Mar 20, 2010 6:57 pm
by l3whmg
Hi Rathinagiri,
Many thanks for your interesting. I'm waiting :)
Bye

Re: button with .gif

Posted: Sat Mar 20, 2010 7:28 pm
by Roberto Lopez
l3whmg wrote:Ciao a tutti,
I've found a problem or I don't understand about image for buttons.
If I use a .gif image in toolbar buttons works fine, instead if I use the same .gif for a button alone, the image is not displayed.
I want use the same transparent image everywhere and bmp have a "false" transparent background.
I've included a little example.

Many thanks to everyone.
Currently, only .bmp images are supported in mixed (text and image) standalone (not toolbar) buttons.

Re: button with .gif

Posted: Sat Mar 20, 2010 8:49 pm
by l3whmg
Hy Roberto,
many thanks for your answer.
I hope that in future we can use these type (and/or other) of file for these buttons.
Best regards.

Re: button with .gif

Posted: Sun Mar 21, 2010 1:18 pm
by Roberto Lopez
l3whmg wrote:Hy Roberto,
many thanks for your answer.
I hope that in future we can use these type (and/or other) of file for these buttons.
Best regards.
I've added to my TODO list.

Thanks for the suggestion.

Re: button with .gif

Posted: Sun Mar 21, 2010 3:32 pm
by mol
It would be fine to use GIF pictures on buttons because of their animation possibility.

Re: button with .gif

Posted: Sun Mar 21, 2010 5:15 pm
by Czarny_Pijar
Animation is ok, :roll: but this is rare in the real world. :twisted:
GIFs are used to flashing, splashing, blinking :lol: and destroying my eyes and nervous system. :cry:
Even here I have to cover some avatars with my left hand ;)

Re: button with .gif

Posted: Mon Mar 22, 2010 8:47 am
by l3whmg
Many thanks Roberto :!:
Often I read the source code behind Minigui and find many things that I do not know: thanks for your (and other) work.

Czarny_Pijar, you are right :lol: , but we can not all be beautiful: the world is beautiful because it varied :mrgreen:
That said, my aim is much more banal than animation on the buttons: use images that fit "any" background color that is present.