fyne-io / defyne

The Fyne IDE
Other
197 stars 26 forks source link

Need a way to select a container #31

Open OYTAdmin opened 6 months ago

OYTAdmin commented 6 months ago

I'm not sure if this project has been abandoned or not, or if there's something better out there, but I see a lot of potential here.

The one crippling issue that I have found is that if I create a container inside a container, I see no way to select that child container so that I can place widgets within it. That means it's impossible to create anything but the most simple of layouts and severely limits the use of the tool. Is there something that I'm missing? If not, adding this feature would make a huge leap forward for usability.

OYTAdmin commented 6 months ago

Hmm... I'm not sure if I don't understand your reply or if you don't understand my request.

I don't want to add child objects in my code, I want to use the Defyne GUI to add child objects. I want to use the GUI to create a vbox container that has three items, but the middle item is an HBox container, and it contains three buttons. I can create the child container in the GUI but once I've done that I can't select it with the UI to add child items to it.

Maybe a treeview that shows all the widgets in the Builder would work. I poked around in the code for a bit but I don't see any easy way to do that; there appears to be no unique identifier for each generated widget. Perhaps a uuid could be added to the Builder's meta field. I didn't go far enough down the rabbit hole to know if that would work.

andydotxyz commented 6 months ago

Do you mean like this?

Screenshot 2024-05-12 at 21 45 42
OYTAdmin commented 6 months ago

Why, yes! Exactly like that!

When do the wraps come off Fysion? :)

andydotxyz commented 6 months ago

Very soon! We have been preparing a version that will be first made available to developers on the waiting list set up at https://fysion.app/signup