origo icon indicating copy to clipboard operation
origo copied to clipboard

Configurable control button placement

Open MattiasSp opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. At the moment, every control has its placement fixed, defined in the control itself. With many controls enabled, the "northwest" screen section can be quite cluttered. Conversely, some controls (such as the Print control) may in certain cases be better placed on screen rather than in the menu.

Describe the solution you'd like A general control placement option for each control in the config which lists the containers its button(s) should be displayed in:

{
  "name": "print",
  "options": {
    "placement": ["screen", "menu"]
  }
},

Describe alternatives you've considered Placement options could include all screen corners; northwest | northeast | southwest | southeast | menu, but perhaps it would make it unnecessarily complex to write controls which display perfectly in either of the five containers. Choosing between screen | menu is easier and can be a perfectly acceptable first step.

Additional context The initial idea comes from the desire to show an on-screen button for the Print control.

MattiasSp avatar Feb 03 '21 08:02 MattiasSp