Hello fellow developers,
I have a question and really hope that you can help me
In my B4X application I have a CLV (CustomListView) and inside it I have several panels.
What I am trying to do is to resize (change the height) of the panels during runtime.
Therefore I am going through all views in the CLV and look for the panels tag.
This code is working for the coloring part: the panel gets Magenta....
But it is not being resized.... If I debug the value of "temp__panel__PP__orgData.Height" at the end of the code seen above, it is indeed 800 (px)... But the UI itself doesn't reflect the change..
--> How can I make the panel "really" resize also in the UI?
Thanks so much for any pointers how to get this working
Best regards,
Chris
I have a question and really hope that you can help me
In my B4X application I have a CLV (CustomListView) and inside it I have several panels.
What I am trying to do is to resize (change the height) of the panels during runtime.
Therefore I am going through all views in the CLV and look for the panels tag.
B4X:
If v.Tag.As(String).Contains("panel__PP__orgData") Then
' We have found the correct panel, the panel "panel__PP__orgData"
Dim temp__panel__PP__orgData As Panel = v
temp__panel__PP__orgData.Height = 800
temp__panel__PP__orgData.Color = xui.Color_Blue ' Debug test
End If
This code is working for the coloring part: the panel gets Magenta....
But it is not being resized.... If I debug the value of "temp__panel__PP__orgData.Height" at the end of the code seen above, it is indeed 800 (px)... But the UI itself doesn't reflect the change..
--> How can I make the panel "really" resize also in the UI?
Thanks so much for any pointers how to get this working
Best regards,
Chris
Last edited: