Hi,
I have a fullsize panel with anchors (panelMain) which I resize. This works.
In the panelMain, I have 2 panels with anchors . Panel 2 on the right sight with the buttons (screenshot) is only shown a part
after resize. (screenshot 2)
What can I do ?
I have a fullsize panel with anchors (panelMain) which I resize. This works.
In the panelMain, I have 2 panels with anchors . Panel 2 on the right sight with the buttons (screenshot) is only shown a part
after resize. (screenshot 2)
What can I do ?
B4X:
Sub B4XPage_Resize (Width As Float, Height As Float)
Dim r As Rect = B4XPages.GetNativeParent(Me).SafeAreaInsets
PanelMain.SetLayoutAnimated(0, r.Left, r.Top, Width - r.Right - r.Left, Height - r.Bottom - r.Top)
End Sub