Hi,
I am calling this panel which has two labels (as shown in the attachment) and one child panel containing a button to be displayed in scrollview and i am calling this layout using "ScrollView1.Panel.LoadLayout"
The labels get displayed but the panel containing the button is not visible.
I made sure that "ScrollView1.Panel.Width = ScrollView1.Width"
I have attached the screenshot.
The Child panel containing the button should come at the right end of the screen and the two labels should be to the left next to the Child panel
This is the code in the designer
Kindly let me know where i am going wrong...
Regards,
SK
I am calling this panel which has two labels (as shown in the attachment) and one child panel containing a button to be displayed in scrollview and i am calling this layout using "ScrollView1.Panel.LoadLayout"
The labels get displayed but the panel containing the button is not visible.
I made sure that "ScrollView1.Panel.Width = ScrollView1.Width"
I have attached the screenshot.
The Child panel containing the button should come at the right end of the screen and the two labels should be to the left next to the Child panel
This is the code in the designer
B4X:
AutoScaleAll
PanelPmanku.SetLeftAndRight(0,100%x)
PanelPmanku.SetTopAndBottom(0,100%y)
PanelCmanku.SetTopAndBottom(0,100%y)
PanelCmanku.SetLeftAndRight(90%x,100%x)
'PanelCmanku.Width = 40dip
Button1manku.Height = 70dip
Button1manku.Width = PanelCmanku.Width
Label1manku.SetTopAndBottom(5%y,50%y)
Label2manku.SetTopAndBottom(Label1manku.Bottom+10dip,95%y)
Label1manku.SetLeftAndRight(7dip,PanelCmanku.Left)
Label2manku.SetLeftAndRight(7dip,PanelCmanku.Left)
Button1manku.VerticalCenter = 50%y
Kindly let me know where i am going wrong...
Regards,
SK