gjoisa Active Member Licensed User Longtime User Nov 12, 2024 #1 I can set position of DatePicker in designer . But in real device it is not positioned accordingly . Posting my project here . How to set it right ? Attachments Search.zip Search.zip 375.2 KB · Views: 299
I can set position of DatePicker in designer . But in real device it is not positioned accordingly . Posting my project here . How to set it right ?
gjoisa Active Member Licensed User Longtime User Nov 12, 2024 #3 I had set Left of DPDate and DPTime as 40 . But in device it's position is different . Upvote 0
Alexander Stolte Expert Licensed User Longtime User Nov 12, 2024 #4 gjoisa said: I had set Left of DPDate and DPTime as 40 Click to expand... No you dont: gjoisa said: But in device it's position is different . Click to expand... Then comment out the “AutoScaleAll” in the layout and it sticks to the position. Upvote 0
gjoisa said: I had set Left of DPDate and DPTime as 40 Click to expand... No you dont: gjoisa said: But in device it's position is different . Click to expand... Then comment out the “AutoScaleAll” in the layout and it sticks to the position.
gjoisa Active Member Licensed User Longtime User Nov 12, 2024 #5 This is what I set Attachments Untitled.png 138.3 KB · Views: 449 Upvote 0
Alexander Stolte Expert Licensed User Longtime User Nov 12, 2024 #6 Then next time write which layout file you mean and don't waste our time... I had looked in the "Page1" layout file. Looks like it automatically aligns to the rightmost point with an automatic width. This will be native. Have to wait for an answer from @Erel as it is a native view. Upvote 0
Then next time write which layout file you mean and don't waste our time... I had looked in the "Page1" layout file. Looks like it automatically aligns to the rightmost point with an automatic width. This will be native. Have to wait for an answer from @Erel as it is a native view.
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2024 #7 This is indeed how the native view behaves, note that you can see this behavior with the designer if you open B4i-Bridge. Upvote 0
This is indeed how the native view behaves, note that you can see this behavior with the designer if you open B4i-Bridge.