iOS Tutorial Visual Designer

Make sure to go over this tutorial first: http://www.b4x.com/android/forum/threads/layouts-pages-and-viewcontrollers.45942/

B4i visual designer is more or less the same as in B4A. It is made of three components:
- The main properties box.
- Abstract designer.
- WYSIWYG designer (running on a real device). This is a part of B4i-Bridge app.

In B4i you cannot move views on the WYSIWYG designer directly. You can move them with the abstract designer or by setting their properties.
This is in fact an advantage as it allows you to interact with the views on the device and to see their real behavior.

The following video demonstrates the designer (make sure to switch to HD by clicking on the small gear button):


Notes & tips:

SS-2014-10-23_10.28.33.png

- The layout is animated by default when it is resized or created. You can control the animation with the two properties shown above.
- The two designer properties only affect the designer. You need to change the bars visibility in your code.
- The abstract designer allows you to test the layout on different screen sizes.
- Don't create many variants. Instead use anchors to implement a flexible layout.
- Designer scripts are currently not available. This feature will be added in the near future.
- Some views have a fixed size. Changing their size in the designer will not change their actual size (you can see it on the WYSIWYG designer).
 

GiulioVale

Active Member
Licensed User
Longtime User
Please Erel put an option so we can set different font size for the name of view inside Abstract design. In real case I think everyone use long name then button1...
thanks
 

Allan Cameron

Member
Licensed User
Longtime User
Erel--please can you give an idea when designer scripts will be available, and in the meantime what do you advise when converting an app from B4A to B4I, when the B4A app makes extensive use of designer scripts?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

imbault

Well-Known Member
Licensed User
Longtime User
When Erel says very soon, it means usually tomorrow...
we'll see

Patrick
 

Allan Cameron

Member
Licensed User
Longtime User
Hi Erel--When I add ProgressView to a layout page, changing the height either through Main or the DesignerView does not appear to change the appearance either in Bridge or a compiled program. It just appears as a thin line.
 

RichardHirst

Member
Licensed User
Longtime User
Hi.. I cannot see the Picker or BarButton in the designer Addview list. Can this only be added via code..?
 
Top