fury icon indicating copy to clipboard operation
fury copied to clipboard

Unified API to make UI components draggable

Open Nibba2018 opened this issue 4 years ago • 1 comments

Many UI components such as Panel2D, ComboBox2D, TabUI etc implement boiler plate code to make themselves draggable. It would be helpful and cleaner to have a separate common method, preferably part of the base UI class to replace the said boiler plate code.

Describe the solution you'd like A common UI method that helps replace the boiler plate code for making UI components draggable.

Additional context Here's one such implementation for ComboBox2D. A similar implementation is done for TabUI as well.

Nibba2018 avatar Mar 29 '21 19:03 Nibba2018

I agree, I think this is part of creating a layout system.

skoudoro avatar Mar 30 '21 05:03 skoudoro