Skip to content

Expand context menu icons to support arbitrary UIX elements (or slots) for image layering and other effects #6027

@Dusty-Sprinkles

Description

@Dusty-Sprinkles

Is your feature request related to a problem? Please describe.

Currently the context menu is fairly rigid and only allows single sprites to be added through the ContextMenuItemSource This means that if a user wanted to apply multiple icons or create effects with layering, more expensive techniques would need to be employed, or valuable storage space would need to be used where it otherwise may not be needed.

Describe the solution you'd like

I would like if either ContextMenuItemSource was updated to support an arbitrary UIX/Slot being added to it in place of the traditional Sprite, or if a new component was added that filled this role.

Describe alternatives you've considered

I initially created issue #6000 primarily for this purpose, but Frooxius stated it would be better to approach my core problem in this way as for -just- the context menu it is far too expensive to really justify, and while I do still think it would be neat to have that, I see no reason I can't have my cake and eat it too.

Additional Context

If you want to do icons like that for context menu, we'd probably just expand the mechanism to allow you to put arbitrary UIX in place of the icon if that's what you really want.

UIX already has natural ability to layer multiple images and sprites that's efficient and lets you do all that you ask for, so that's what generally should be used.

A quote from froox on #6000 that this issue would be feasible as an option for the context menu

Requesters

Venport/dustysprinkles

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureA new addition, whose complexity hasn't been evaluated yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions