S SCIS Active Member Licensed User Longtime User Mar 7, 2013 #1 Hello, We want to add a panel on our activity that starts 10%x from the left side and has a width of 80%x, starts at 50dip height and is 80%y high. Code: Copy panels(i).Initialize("panels") Activity.AddView(panels(i), 10%x, 50dip, 80%x, 80%y) This is the code we use for it. Now the problem is, everytime we debug it, the panel starts at the very left side of the screen. It doesn't matter what value we assign to set the left border of the panel, it will always start at the very left side of the screen. Can someone please help us out. Greets, SCIS. Last edited: Mar 7, 2013
Hello, We want to add a panel on our activity that starts 10%x from the left side and has a width of 80%x, starts at 50dip height and is 80%y high. Code: Copy panels(i).Initialize("panels") Activity.AddView(panels(i), 10%x, 50dip, 80%x, 80%y) This is the code we use for it. Now the problem is, everytime we debug it, the panel starts at the very left side of the screen. It doesn't matter what value we assign to set the left border of the panel, it will always start at the very left side of the screen. Can someone please help us out. Greets, SCIS.
Erel B4X founder Staff member Licensed User Longtime User Mar 7, 2013 #2 The problem is somewhere else. Change the panel background color in order to see its layout. Upvote 0
S SCIS Active Member Licensed User Longtime User Mar 7, 2013 #3 Solved Guys, I found the answer, the module SlidingPanels adjusts the position of the panels, that's why it is always placed to the left side. If you want to change it you'll have to change the position in the module itself. Grts, SCIS. Upvote 0
Solved Guys, I found the answer, the module SlidingPanels adjusts the position of the panels, that's why it is always placed to the left side. If you want to change it you'll have to change the position in the module itself. Grts, SCIS.
S SCIS Active Member Licensed User Longtime User Mar 7, 2013 #4 Erel said: The problem is somewhere else. Change the panel background color in order to see its layout. Click to expand... Yeah, thanks Erel, I found it, the problem was indeed somewhere else. Upvote 0
Erel said: The problem is somewhere else. Change the panel background color in order to see its layout. Click to expand... Yeah, thanks Erel, I found it, the problem was indeed somewhere else.