Community
Participate
Working Groups
Some thoughts. MigLayout combines features of many layout managers, such as "grid", "absolute" and BorderLayout. We have some support for docking in our MigLayout model, but this support is not used yet in MigLayoutEditPolicy. As you understand, in compare to "grid" features, docking is very easy to implement, problem is only in the way how to tell policy that now we want to use docking, or "absolute", instead of "grid". May be some string should be pressed, such as "`A" (tilde A) for "absolute", "`D" for docking and "`G" for grid. We can not use just A/D/G because D is used in "grid" to set default constraints. This mode (if not default - grid) can be displayed somewhere (for example in top-left corner of container). Of course this mode will be lost after undo or reopening editor, it is temporary, but I think that this is enough...
> Yes. A small indicator showing the mode that can be clicked on to change it. > Mode keys are good, but there should always be a graphical backup. Alexander suggests to put this indication into top-left corner of _headers_ part of design canvas. Currently this corner is empty. I will try to put there FigureCanvas and allow LayoutEditPolicy to put any Figure on this FigureCanvas. If this will not work, I will put this indicator just at top-left corner of Container with MigLayout (outside of Container). not so nice, but easy.
Closing. Please reopen if this is still an issue.