Wish LoadLayout in designer scripts

Alessandro71

Well-Known Member
Licensed User
Longtime User
As explained here https://www.b4x.com/android/forum/threads/b4x-nested-layouts.116545/#content, nested layouts are very powerful, but they actually require explicit LoadLayout calls in the main code for each nested element, after the main one.
If LoadLayout calls would be possible from inside the designer script, we would have the following benefits:
  • no need to declare the containing panels in the main code
  • no need to change the code when switching from a simple layout to a nested one: a single LoadLayout would be sufficent, and the nested calls will be hidden in the designer script
 
Top