Allege layout editor is it possible?

alan1968

Active Member
Licensed User
Longtime User
I use the emulator or my Tablet to edit my layout, the emulator is quite slow and not very practical tablet without a mouse.
Is it possible to make a lighter editor directly via a Windows BA4?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Is it possible to make a lighter editor directly via a Windows BA4?
Yes! The next version will include a new designer named "Abstract designer", running in a Windows form and in the same process of the IDE. It will show all views as rectangles. It will be easier to work with and easier to test different layouts quickly.
I see it as a complement designer to the WYSIWYG designer.
 
Upvote 0

Kevin

Well-Known Member
Licensed User
Longtime User
Sounds very nice! Out of curiosity, any rough idea on when you expect the next version to be released?
 
Upvote 0

Jim Brown

Active Member
Licensed User
Longtime User
Sounds interesting Erel. It should allow for even faster development!
How though can you tell from the 'rectangles' whether the actual Views are going to appear 'correctly'? This is one area I am struggling with (well, mainly the heights of SeekBars, ToggleButtons, Buttons, Check/Radios, etc ..)

In any case I look forward to the new designer
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Out of curiosity, any rough idea on when you expect the next version to be released?
I believe that a beta version will be available during October.

How though can you tell from the 'rectangles' whether the actual Views are going to appear 'correctly'? This is one area I am struggling with (well, mainly the heights of SeekBars, ToggleButtons, Buttons, Check/Radios, etc ..)
You will still need the WYSIWYG designer for the fine tuning. The abstract designer will be useful for testing the design on different resolutions and scales and will also be easier to manage.
 
Upvote 0

Housefly

Member
Licensed User
Longtime User
This is fantastic news indeed! A basic layout editor is just what the doctor ordered..

Erel, I think this is probably the wrong place to ask, but will you also be addressing libraries in the IDE? a way to have the IDE automatically check for updates to libraries installed on our machines?

Even if the IDE were to connect to and download a super zip of all the available most up to date libraries, and then give us an interface to see what we have vs. what is available.. or something along those lines..

Also, and I know this is going to come across as a bit nit picky.. but.. when I'm editing in the IDE, I get a LOT of extra whitespace appended to my lines of code, perhaps there is a way to actively keep the code clean when editing.. Maybe have the IDE strip the line of any excess whitespace (tabs or " ") characters on the right side of the line.. this only really becomes problematic on lines that HAVE code, whereas, if the line contains just tabs or whitespace, then it should be left alone, for formatting reasons..

I could type a line say:
Dim Label1 as Label TAB-> TAB->
Could it just strip those extra tabs or spaces off the end? It's not like the user is putting them there too in some cases, it's picking the tabs up BECAUSE it's following proper indentation formatting.. it really slows down my code editing routine.. if I end up moving and editing code, I usually spend a good little while eliminating those extra spaces and tabs..

:) ... sorry.. perhaps nitpicky.. or maybe another user on the forum here can suggest a fix.. I do see an option in the menu to Clean Project files, etc.. So even a Clean Code (Remove Extra Whitespace) option would be welcome.. I'm up for pressing a key to clean it all if the IDE engine can't be made to do it...
 
Upvote 0

Kevin

Well-Known Member
Licensed User
Longtime User
......when I'm editing in the IDE, I get a LOT of extra whitespace appended to my lines of code, perhaps there is a way to actively keep the code clean when editing.. Maybe have the IDE strip the line of any excess whitespace (tabs or " ") characters on the right side of the line.....


I've noticed this too, but it's only occasional for me where it actually creates extra work to clean things up. More times than not, I don't even realize that there are extra spaces and what-not in the code unless for various reasons I happen to open the B4A project (code) file in a text editor such as Notepad ++ or if I try to copy and paste a code snippet into the forum. Then I notice all sorts of strange spaces and stuff. Part of it could be me though because I sometimes tend it use spaces to indent rather than the tab key.
 
Upvote 0
Top