eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
567 stars 96 forks source link

Add duplicate button in switchCase component property lists #279

Open fietser28 opened 1 year ago

fietser28 commented 1 year ago

This is just a convenience request:

There are several places where I think a duplicate button would be very nice to have. Especially in the switchcomponent:

image

Here I would like to have a 'duplicate' button next to the delete/trash button of the list of the individual case statements. In many cases the case statements have a very repetitive character (just like in this example). Now I have to fill them all in from scratch individually.

The switchcase component is (to me) the most important one, but this might also apply to setVariable and input/output edit lists.

mvladic commented 5 months ago

And copy and paste will be useful too, especially because you can copy list entry from one action/widget and paste into another. But, then we will have a problem having too much command icons: copy, duplicate below and above, paste below and above. We can hide some command icons with additional/more commands icon [...] .