Page 1 of 1

change image size

Posted: Sat Nov 28, 2015 4:40 am
by Fernando

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.


change image size

Posted: Sun Nov 29, 2015 6:40 am
by Fernando

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

Best regards.