[Pas2js] html widgets layout question
Michael Van Canneyt
michael at freepascal.org
Fri Oct 2 18:15:30 CEST 2020
On Fri, 2 Oct 2020, heliosroots wrote:
> Using fluent interfaces seems much simpler to write ... but it doesn't seem
> like the direction WebWidget wants to reach ....
This can be easily added with a TUIBuilder class which provides a fluent
interface.
I don't want to force 'fluent' style. It can easily be added for those that
prefer such a style.
> I imagine that the author
> wants to make some scheme to integrate with an ide and have some RAD scheme
> ....
Correct.
>
> Today almost all webcomponents use the Grids or Flexbox scheme ... so almost
> no anchoring scheme is used ...
Yes, that is exactly why I don't provide layouting properties.
All must be done in style/CSS.
The plan is to integrate the browser with the lazarus IDE and have a RAD way
of building pages. But the components can equally well be used with a
'fluent' UI builder class.
Michael.
More information about the Pas2js
mailing list