Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

button icon

Hi,
I have uploaded an icon to the mediamanger called cartwhite.png, its 15px x 15px.
added this property

Image

the button shows the plus icon, and not the cartwhite.png I uploaded,
dont understand it worked on the bars icon applied in the same way,
what do you think I done wrong?

cheers Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

button icon

Hello! You can't set data-icon this way. There should be specific data-icon value, not picture name (see here http://demos.jquerymobile.com/1.3.2/w...). What do you mean on "it worked on the bars icon applied in the same way"? Could you post screenshot?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

button icon

Hello!
screenshot above
here is the property panel

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

button icon

If you check the link I posted you'll see there is a "bars" value for data-icon, you can't use cartwhite 15 as value.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

button icon

Thanks Maryna,
I have read the custom icon section and this is what I did,
dont think I got the css right?

this is the css called "iconbutton"
button name cartbutton
image cartwhite18.png

Image

this is the ui settings

Image

and one other thing.
love the panel component, one of the best additions yet
is there a way to make the panel slide up and down with the same controls like push, overlay etc

thanks as always

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

button icon

1) Did you set it through more properties data-icon=cartbutton?
2) You have incorrect image path, this should help https://getsatisfaction.com/apperyio/...

Return to “Issues”