iOS Question mooving to b4i, view's properties

nicolas irigoyen

Member
Licensed User
Hi.. i used b4a for a long time and everything worked well... recently i start to move my proyect to b4i and i have a big deal. I can't change by code the top, left, hight or width of a view when this was created from the visual designer.
Do anyone know why? or what to do? thanks you in advance
 

tufanv

Expert
Licensed User
Longtime User
Hi.. i used b4a for a long time and everything worked well... recently i start to move my proyect to b4i and i have a big deal. I can't change by code the top, left, hight or width of a view when this was created from the visual designer.
Do anyone know why? or what to do? thanks you in advance
Did you try to change them under page1_resize sub ?
 
Upvote 0

nicolas irigoyen

Member
Licensed User
Did you try to change them under page1_resize sub ?

It worked well, when i change the left, top, width or height properties under page1_resize sub it works. but now when I load a new layout in a panel i have the same problem!

I mean.. i can change this properties of a view that belongs to a layout file that is loaded from page1 (page1.rootpanel.loadlayout("example")), but i can not change them when the view belongs to a layout file that was loaded from a panel! (panel1.loadlayout("examplee")

if anyone could tell me what could be the problem, i really apreciate it!!
 
Upvote 0
Top