Paladin icon indicating copy to clipboard operation
Paladin copied to clipboard

Add GUI Builder UI

Open adamfowleruk opened this issue 5 years ago • 7 comments

Drag and drop widgets to visually place. Auto layout support (like XCode) @diversys

adamfowleruk avatar Dec 05 '19 16:12 adamfowleruk

Maybe we can integrate one of already existing GUI builders https://github.com/HaikuArchives?q=gui

diversys avatar Dec 06 '19 06:12 diversys

Had a look at BeBuilder. Fixed its compilation problems and issued a PR: https://github.com/adamfowleruk/BeBuilder/tree/feature-2019build Looks like a good base, although buggy. Interesting concepts there.

adamfowleruk avatar Dec 08 '19 12:12 adamfowleruk

Yeah the old Paladin PDesigner code base is in a terrible state. BeBuilder is about the best so far, but very basic and not at all user friendly (I think coding by hand may be easier...). Good starting code base though. Not sure about 'code generation' - I think that's the wrong approach. Prevents round trip re-engineering. I'll have a think.

adamfowleruk avatar Dec 08 '19 13:12 adamfowleruk

Links for Auckland Layout Manager (ALM) style layout editor on Haiku from PulkoMandy:-

  • https://www.haiku-os.org/blog/czeidler/2012-09-03_ale_auckland_layout_editor/
  • https://www.researchgate.net/publication/262402078_The_Auckland_Layout_Editor_An_improved_GUI_layout_specification_process
  • https://github.com/czeidler/ALEditor

adamfowleruk avatar Dec 08 '19 13:12 adamfowleruk

Also MeTOS IDE from Bruno:-

https://cvincent.pagesperso-orange.fr/logiciels/metos.html

adamfowleruk avatar Dec 22 '19 11:12 adamfowleruk

Would be nice to make it build on Haiku since the project is pretty big: https://github.com/HaikuArchives/MeTOS

diversys avatar Dec 30 '19 23:12 diversys

Rather than a drag-drop builder, something that would immediately preview the UI immediately or on trigger would be neater, and it could easily applicable with the layout builder code.

For reference, SwiftUI works this way, and it is much better than dealing with storyboards. Storyboards are a pain in the butt to work with, especially with constraints.

bitigchi avatar Feb 15 '22 18:02 bitigchi