I have a suggestion for documentation that could really help plugin developers. A lot of time is spent by the developer in lining up elements in the right position. For instance, I spent a couple hours this week getting a button to line up exactly with the qfield search button on the windows exe, and it was perfect, and then I opened the plugin on the ipad and the button was too high. Doh! What the developer really needs to do is line up their element anchors according to the qfield element anchors. Like, I would want to do something like myButton.anchors.right = qfsearchbar.anchors.left and myButton.anchors.top = someframeidontknowabout.anchors.top. It would really be helpful, and lead to cleaner plugins, if there was some sort of Layout sketch of QField ui elements in the developer’s documentation. I’d helpfully build it myself, but this information is really a mystery to me. I’m not sure how I would pull it from the source code.
2 Likes