Percentages
You also need to resize the parent div element.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
You also need to resize the parent div element.
The container, right? I need to insert the name of the class (resize) in the class name field, correct? If yes, I've done that and it didn ́t work
You can increase the container size like this, on page load:
$('.mobileimageX_div').css('width', '200');
I applied a custom JavaScript with code that you suggested, to run after loading the screen, but nothing happens. I can ́t understand why not have options to resize elements inside the panel using percentage values. It seems that just me that I need this feature. It ́s very hard for very little. Anyway, thank you by the effort.
This is my class:
code
.resize {
width: 100% !important;
}
/code
and this is what I run on page load:
code
$('.mobileimage1_div').css('width', '200');
/code
the image number above for you might be different, you need to look in the source.
Is the same name and the same way that I did (custom javascript = screen load event)
You should debug with Firebug or Chrome Developer Tools -- and see why it's not working.
Could you create a simple example, a single screen with half of it with a image and another half with a video, both resizable? So I could import to my panel and study this example. This way would be easier to understand the procedure and I could apply it to all my projects.
You can change size but it won't be automatically resizable. To change size automatically, you would need to determine screen size in runtime and update the components accordingly.