duality icon indicating copy to clipboard operation
duality copied to clipboard

Rearrange List-Items in the Editor

Open ChristianGreiner opened this issue 6 years ago • 1 comments

Summary

It think at some points, it would be useful to rearrange (move up, move down) items in a list.

Example scenario: Creating a custom render setup: If you want to add a render step between existing render steps, you have to create a new list and do all the steps again. meh.

Here is a screenshot, how we could implement this. Adding two buttons (Up and Down) in the object inspector. As soon as the user selects an item in the list, the two buttons gets enabled.

image

ChristianGreiner avatar Oct 02 '19 12:10 ChristianGreiner

Let's skip the buttons and do proper dragdrop ("dot" handles, highlighting) instead, with additional insert and remove functionality as a bonus.

The place where this would be done is the IListPropertyEditor in the AdamsLair.WinForms project.

ilexp avatar Oct 03 '19 18:10 ilexp