I think it would be a cool feature to import bal files from within the Visual Designer, or at least attempt to import most of the controls. If it can't convert a control, just create a label with the same name. A small import report could be displayed in a window showing what it did. You could copy the report if you so wish.
I think it would be a cool feature to import bal files from within the Visual Designer, or at least attempt to import most of the controls. If it can't convert a control, just create a label with the same name. A small import report could be displayed in a window showing what it did. You could copy the report if you so wish.
In General... would nice if any designer of B4X can open/import any layout of 3 platforms... without need to copy-past... general be compatible someway...
In General... would nice if any designer of B4X can open/import any layout of 3 platforms... without need to copy-past... general be compatible someway...
Since when we copy + paste from one layout to another (may it be between two B4A or B4A and B4J), the designer knows how to paste the copied view.
So import can also employ the same and do the trick.
Lets hope Erel gets some time, as he did for Snippets
Since when we copy + paste from one layout to another (may it be between two B4A or B4A and B4J), the designer knows how to paste the copied view.
So import can also employ the same and do the trick.
Lets hope Erel gets some time, as he did for Snippets
I just want to share my thoughts, whether it makes sense to implement so, I do not know. Maybe this is a way to find a compromise or inspiration. I have an idea how to simplify this. Since in my case I always have to have 2 designers open and therefore 2 projects (B4A and B4I), it would be...
As long as we're tagging on more wishes for the visual designer in this thread, I'd like to bring along an old wish: Switch so the visual designer uses a text-based file format, to make it work better with source tools like Git, Mercurial, etc. (I do remember that Erel has some good reason for why it's better to keep it binary, but that doesn't help when I review source and just see a binary blob.)
As long as we're tagging on more wishes for the visual designer in this thread, I'd like to bring along an old wish: Switch so the visual designer uses a text-based file format, to make it work better with source tools like Git, Mercurial, etc. (I do remember that Erel has some good reason for why it's better to keep it binary, but that doesn't help when I review source and just see a binary blob.)
BalConverter is a B4J app (desktop app) that converts between the designer layout files and JSON format. This allows you to edit the layout with a text editor. Note that the format is not so simple as the layout files were not designed to be edited this way. The converter app is simple. You...
As long as we're tagging on more wishes for the visual designer in this thread, I'd like to bring along an old wish: Switch so the visual designer uses a text-based file format, to make it work better with source tools like Git, Mercurial, etc. (I do remember that Erel has some good reason for why it's better to keep it binary, but that doesn't help when I review source and just see a binary blob.)
That will be super helpful esp. in scenarios where you have to change a control type to another or do a regex find and replace to change some values in bulk.
That will be super helpful esp. in scenarios where you have to change a control type to another or do a regex find and replace to change some values in bulk.
Only this feature stops it from using for Git or Backup or sharing codes between developers.
Hope Erel keeps the designer file in json format and temporarily converts to binary when editing the design.