Hi
I don't know if the following is a bug or just a quirk in the designer.
Should the error have been reported by the designer?
(See demo project attached).
Regards
Joe
I don't know if the following is a bug or just a quirk in the designer.
- Create a simple layout in designer consisting of two labels (Label1 and Label2).
- Add the following lines to the script window:
B4X:
Label1.Top(0%y)
Label2.Bottom = 100%y
- Run the script and Label1 moves to the top of the screen however Label2 doesn't move anywhere and no error is reported.
- Now, try compiling and running the app and it correctly reports the error in the script:
src\b4a\example\designerscripts\LS_layout1.java:12: error: ';' expected
views.get("label1").vw.setTop((int)((0d / 100 * height)))
Should the error have been reported by the designer?
(See demo project attached).
Regards
Joe