origo
origo copied to clipboard
Configurable control button placement
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.