Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Allow configuration of number of UI columns. #1813

Open
Athanasius opened this issue Jan 17, 2023 · 3 comments
Open

UI: Allow configuration of number of UI columns. #1813

Athanasius opened this issue Jan 17, 2023 · 3 comments
Labels
enhancement Plugins Anything related to plugins ui User Interface

Comments

@Athanasius
Copy link
Contributor

Athanasius commented Jan 17, 2023

Quite a few users are utilising so many plugins, with UI elements, that only growing vertically is becoming a problem.

The simplest solution to this would appear to be to allow a user-configurable number of columns of UI.

  1. The main UI would always sit only in column 1. I'm envisaging the rendered size of this not changing.
  2. Any additional columns would take in plugins' UI in a left-to-right then top-to-bottom manner.
    Main UI
    Plugin1
    Plugin2
    Plugin3
    Plugin4
    Plugin5
    Update/Status
    
    with two columns configured becomes:
    Main UI | <empty>
    Plugin1 | Plugin2
    Plugin3 | Plugin4
    Plugin5 | <empty>
    Update/Status
    

This will go hand in hand with the implementation of #1792 ... and it might therefore be easier to do that after this.

@Athanasius Athanasius added enhancement Plugins Anything related to plugins ui User Interface labels Jan 17, 2023
@DawnTreader
Copy link

I think that configurable columns would be great, but even better would be tear off tabs or floating panels. I mainly use EDMC for the overlay and the fleet carrier plug in features at this point. If each plugin was able to be put in its own panel and overlayed I think that would make a lot of CMDRs happy.

@Athanasius
Copy link
Contributor Author

I can't recall if I documented this outside of some Discord mutterings.

With tk/tkinter you cannot re-parent a widget once it's created. This means no ability to start with the UI as it is now, coding it the simplest way, and then move a window out to its own (i.e. not parented to the main UI, possibly parented to a 'manage this floating window' frame).

Instead the code would have to be complicated by making the "docked together" instance actually be faked with some code to make all of those frames follow each other when the master one is moved. i.e. you'd have a bunch of actually completely independent top-level frames that you need to make always move, and resize, together. In essence writing a mini window manager in order to make this work.

@parduz
Copy link

parduz commented Sep 11, 2023

Not all plugins are useful on overlay (the neutron router, as example) and someone with 2 monitors may be happy to have them as they are now, just with a better arrangement.

@Rixxan Rixxan added this to the Post-6.0 Changes milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Plugins Anything related to plugins ui User Interface
Projects
Development

No branches or pull requests

4 participants