Bug? B4j 10 beta Overridden layout runs designer script from layout contained in B4xlib

stevel05

Expert
Licensed User
Longtime User
Here is a b4xlib that has a layout that calls a designer script extension to change the colour of a label.

The project LayoutOverrideTest has a layout with the same name and an extra label.

When I run the project, the extra label is displayed, but the original label is coloured as per the designer script of the layout contained in the b4xlib.

I noticed this as I removed a view in an overridden layout and got a no such view error as it was referenced in the original designer script.

I have also attached the project that the b4xlib was generated from.
 

Attachments

  • LayoutOverrideTest.zip
    2.1 KB · Views: 72
  • LOT-b4xlib.b4xlib
    2.2 KB · Views: 71
  • LayoutOverrideTestb4xlib.zip
    2.8 KB · Views: 67
Last edited:

stevel05

Expert
Licensed User
Longtime User
I just tried colouring the new label in the project layout, but that is ignored.
 
Top