[SOLVED] Problems with the positioning of controls in a multi-field form lazarus / 43-Android ---------------------------------------------------------------------- maurobio · 2023-06-15 21:02 Dear ALL, I am developing an app using LAMW that has just one form with a spinner control, an imageviewer, and several textviewer and edit controls (see the attached image). Needless to say, I have had problems getting the controls aligned. I followed the instructions from here: https://github.com/jmpessoa/lazan droidmodulewizard/blob/master/docs/GUIDesignWYSIWYG.md, but they cover just a very simple case (one textviewer, one edit control and one button) and therefore I did not find it much helpful. I also followed the Contact Manager LAMW demo, which was much more helpful, but even anchoring the controls as shown in the demo (ie, with each control anchored to the previous one) I could not get anything right. The interface of this demo is in fact fairly similar to that of my app, except that I have a different disposition of the controls in my form. Could someone out there give a hand with getting the controls in this form right? I attach my project files for your perusal. Thanks in advance! With best regards, ---------------------------------------------------------------------- Mongkey · 2023-06-16 01:38 you have to try another method not laying your all control on 1 panel, LAMW on android 10 had panel child control anchoring problem i think, this problem disappear if you use android 9 or 12,13 thank you. ---------------------------------------------------------------------- maurobio · 2023-06-16 10:34 Hi, @Mongkey, Quoteyou have to try another method not laying your all control on 1 panel, LAMW on android 10 had panel child control anchoring problem i think, this problem disappear if you use android 9 or 12,13 What "other method"? Please elaborate. I have the same problem (ie, all controls overlapping) in both Android 10 and 5.5. On the other side, the LAMW "Contact Manager" demo works well in both. Regards, ---------------------------------------------------------------------- maurobio · 2023-06-16 11:58 Dear ALL, With a little bit of patience and some trial-and-error, I got it working fine!  Therefore I will mark this question as SOLVED. Thank you! ---------------------------------------------------------------------- maurobio · 2023-06-17 20:42 Dear ALL, Although I have already marked this question as SOLVED, here am I again to present the results of my efforts of the last few days in developing a multi-field Android app using LAWM. It is not a study in beauty, but it has the intended functionality and demonstrates a few interesting features. I am not entirely satisfied with the disposition of the components on the form, especially the lack of spaces between the rows of components. Anyway, this is just an experiment for the development of a similar, but more 'serious' and sophisticated scientific app with more or less the same look-and-feel. The full source code is attached. I will appreciate any cosmetic and/or functional improvements. With warmest regards,