button with .gif

Moderator: Rathinagiri

Post Reply
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

button with .gif

Post 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.
Attachments
Test.zip
(4.66 KiB) Downloaded 296 times
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: button with .gif

Post 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.
Luigi from Italy
www.L3W.it
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: button with .gif

Post by Rathinagiri »

Hi Luigi,

Let me check and come with a solution soon. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: button with .gif

Post by l3whmg »

Hi Rathinagiri,
Many thanks for your interesting. I'm waiting :)
Bye
Luigi from Italy
www.L3W.it
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: button with .gif

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: button with .gif

Post 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.
Luigi from Italy
www.L3W.it
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: button with .gif

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: button with .gif

Post by mol »

It would be fine to use GIF pictures on buttons because of their animation possibility.
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: button with .gif

Post 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 ;)
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: button with .gif

Post 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.
Luigi from Italy
www.L3W.it
Post Reply