LAMW : dosent macth wiht form ?? lazarus / 43-Android ---------------------------------------------------------------------- majid.ebru · 2017-03-13 08:08 Hi i create a project whit LAMW. i put 2 jPanels and a buuton in panel1. i want when my device rotated , the width and height set corectly. i use this topic and write this code : Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i     jPanel1.ResetAllRules;    jPanel2.ResetAllRules;    jPanel3.ResetAllRules;    jPanel4.ResetAllRules;     Self.UpdateLayout;  but the panel just chenge corect and width and heigth button dosen't chenged. how can i change width and heigth all element in my form when my device rotated ?? thank alot ---------------------------------------------------------------------- jmpessoa · 2017-03-14 01:39 You can learn more about rotate from "demos/GUI" folder example: "AppPanelRotateDemo1"  and "AppCameraDemo" [NOTE: jPanel is the base  for  LAMW rotate support]