Fernando
Posts: 0
Joined: Sat Mar 14, 2015 10:59 am

change image size

Hi,

i want to set to a image the same height as a label, but it still not working. The label can change dinamically. The image is inside the same row as the label but in other cell. I use this code:

var labelH=Appery("ask_text_label_000").height();
var prop = "width: 25px !important; height: " + labelH + " !important;" ;
alert(prop);
Appery('image_b3').attr("style", prop);

I see the alert correctly but image height doesn't change :-(

What is incorrect?

Thank you.

Fernando
Posts: 0
Joined: Sat Mar 14, 2015 10:59 am

change image size

I fixed it with
Appery("image_b3").height(labelH);

Best regards.

Return to “Issues”