<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">How would you layout correctly ~10 labels with their TextFields?</div><div dir="ltr"><br></div><div dir="ltr">Regards</div><div dir="ltr">Roman </div><div dir="ltr"><br>Am 01.02.2019 um 12:39 schrieb Federico Ferri <<a href="mailto:federico.ferri.it@gmail.com">federico.ferri.it@gmail.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><style>body{font-family:Helvetica,Arial;font-size:13px}</style><div style="font-family:Helvetica,Arial;font-size:13px"><br>On 1 February 2019 at 11:14:01, Roman Wüger (<a href="mailto:roman.wueger@gmx.at">roman.wueger@gmx.at</a>) wrote:</div> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hello,<br><br>i noticed this in every ui file I „design“ in Qt Creator. <br><br>To simplify the problem: I have a lot of labels and text input fields next to the labels.<br><br>Under Windows in Qt Creator, everything looks perfect, but then when I start the app on a device (iOS or Android driven) then the layout looks horrible. The input fields are shifted and have a different height.<br><br>I use the Material style, which is defined in the qtquickcontrols.conf file.<br><br>Did I miss something, some options or something else? I thought that the design qml ui file looks similar on every device?<br><br></div></div></span></blockquote><br><div><div style="margin:0px">I had a similar issue. It turned out I was using wrong combinations of anchors, margins, and other constraints.</div></div><div style="margin:0px"><br></div><div style="margin:0px">But it would be difficult to give you a definitive answer without looking at some specific testcase.</div><div style="margin:0px">Can you create a minimal reproducible testcase?</div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Interest mailing list</span><br><span><a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a></span><br><span><a href="https://lists.qt-project.org/listinfo/interest">https://lists.qt-project.org/listinfo/interest</a></span><br></div></blockquote></body></html>