yaniv hanya Active Member Licensed User Jul 24, 2019 #1 I have a particular panel that should appear on all screens. When I copy it in a designer from screen to screen it's fine but it's very cumbersome. When I tried to load it into a panel while running, it appears much bigger. Even when I tried to copy it to a designer in a clean new project it is bigger even though the values in the designer are the same. On the screens I copied from them there are no scripts so it shouldn't it stay the same size?
I have a particular panel that should appear on all screens. When I copy it in a designer from screen to screen it's fine but it's very cumbersome. When I tried to load it into a panel while running, it appears much bigger. Even when I tried to copy it to a designer in a clean new project it is bigger even though the values in the designer are the same. On the screens I copied from them there are no scripts so it shouldn't it stay the same size?
DonManfred Expert Licensed User Longtime User Jul 24, 2019 #2 Are you expecting to get congrete help with the infos (near zero) you provided? Create a small project which shows the issue. Upload this project; we then may be able to help. Upvote 0
Are you expecting to get congrete help with the infos (near zero) you provided? Create a small project which shows the issue. Upload this project; we then may be able to help.
MarkusR Well-Known Member Licensed User Longtime User Jul 24, 2019 #3 you can also use LoadLayout more than once to add things together Code: Copy Activity.LoadLayout("Layout1") Activity.LoadLayout("Layout2") Activity.LoadLayout("Layout3") and remove it like this Code: Copy Activity.RemoveAllViews Anchors https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content Upvote 0
you can also use LoadLayout more than once to add things together Code: Copy Activity.LoadLayout("Layout1") Activity.LoadLayout("Layout2") Activity.LoadLayout("Layout3") and remove it like this Code: Copy Activity.RemoveAllViews Anchors https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content
yaniv hanya Active Member Licensed User Jul 25, 2019 #4 In the attached project there are two screens that should be identical, but on the second screen the controls are larger even though the designer values are identical and the dots button is all out of the screen. Why? Attachments LYTest.zip LYTest.zip 87.2 KB · Views: 336 Upvote 0
In the attached project there are two screens that should be identical, but on the second screen the controls are larger even though the designer values are identical and the dots button is all out of the screen. Why?
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2019 #5 Haven't checked your code, but I guess that it is related to AutoScaleAll in the designer script. Delete it if it doesn't do what you expect it to do. Upvote 0
Haven't checked your code, but I guess that it is related to AutoScaleAll in the designer script. Delete it if it doesn't do what you expect it to do.
yaniv hanya Active Member Licensed User Jul 25, 2019 #8 Is that what you see when you open the zip I sent? Because my designer looks like that Upvote 0
yaniv hanya Active Member Licensed User Jul 25, 2019 #9 Sorry. Now I saw that it was open on the tab of the sub-version Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2019 #10 There are two scripts in each layout: the variant specific script (don't use it) and the general script. Look in the other one. Upvote 0
There are two scripts in each layout: the variant specific script (don't use it) and the general script. Look in the other one.