In the example I have a Panel and two Labels, the second one is rotated by -90 degrees. I want to programmatically fill the Panel with these labels. The first Label is filled correctly, the second one is filled incorrectly.
picture after
Label2.Top = 0
Label2.Left = 0
Any solutios?
B4X:
Private Sub Button4_Click
Label1.Top = 0
Label1.Left = 0
Label1.Width = Panel2.Width
Label1.Height = Panel2.Height
Label2.As(B4XView).Rotation = -90
Label2.Top = 0
Label2.Left = 0
Label2.Width = Panel2.Height
Label2.Height = Panel2.Width
End Sub
Label2.Top = 0
Label2.Left = 0
Any solutios?