Talk:Multi-column layout

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Looks good, I guess the next step is to add columnspan(should be easy, probably can reuse the current displaylength field instead of adding a new field) and rowspan(this is tougher) support.

Hengsin 20:42, 14 October 2009 (PDT)

I wonder if this means that we can pack more fields in one column space. And that it can pack closely if we have a string of checkboxes in a row. - red1 16:33, 16 October 2009 (PDT)

Other Facts

  • The creator of MigLayout is Mikael Grev.
  • It is fighting for JCP to include into Java 7 release. Just google and you can read alot of chatter on this.

MigLayout Resource

  • You can quickly hack into it in this working Swing Demo Application (All Platforms. Requires Java 1.4). Click on each sample and look at the sourcecode below. - red1
  • But one thing i still cannot find is the sourcecode behind MigLayout itself. We need to see if it deprecates any Java class and how its reusing other swing layout packages. If anyone finds the link please post here. - red1
Ask and you shall find it! Explode within it to the 'src' folder. - red1
Got excited till i forgot to give the link or Project site - red1
Imported the source, but needs org.eclipse.swt jar .. still cannot find it online - red1 03:50, 17 October 2009 (PDT)
Solved! Refering to this advice i pointed to the swt.carbon jar in the eclipse/plugins folder. - red1
  • When making the ADempiere project refers to the MigLayout source, found one unaccounted for resource - net.miginfocom.layout.LayoutCallback.
  • Also the CVS repository is quite empty of related source. Still looking for the CVS or SVN source.
Looks quite outdated, last commit on 2007-02-07 - red1
I look at the wrong spot! This is the right location! thanks to Phib. So now we can say that the project is well and kicking. Will study the latest codes now - red1 21:51, 17 October 2009 (PDT)

Peer Review

  • There is some good views from Carlos here about comparing with GridBagLayout. I have done some online search here and here, for others to review further. - red1
  • The SF thread which started the MigLayout contribution by Liulue and discussion.
  • Voting should be done at the SF thread.