I want that my app get adjust according to different device
Truptimayee,
The x and y for App and Image background of the Page are not necessary, they default to 0,0 unless there are Layout and Anchors that are set.
On the button, we would recommend to use Anchor or Layout as outline in this QML documentation, Use Case - Positioners and Layouts In QML | Qt 5.15
For example, the button could just use anchors.centerIn: parent,
Button <SPAN class="punctuation token">{</SPAN> id<SPAN class="punctuation token">:</SPAN> button anchors<SPAN class="punctuation token">.</SPAN>centerIn<SPAN class="punctuation token">:</SPAN> parent width<SPAN class="punctuation token">:</SPAN> <SPAN class="number token">284</SPAN> height<SPAN class="punctuation token">:</SPAN> <SPAN class="number token">40</SPAN> text<SPAN class="punctuation token">:</SPAN> <SPAN class="token function">qsTr</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Login"</SPAN><SPAN class="punctuation token">)</SPAN> spacing<SPAN class="punctuation token">:</SPAN> <SPAN class="number token">0</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.