Jigloo can't read back layout data (I suppose alignment values) it wrote.
If I set Layout->Constraints->[any]->aligment other than DEFAULT then after saving changes into source Jigloo can't read it back and lose control's layout information. It seems like it can't read alignment constants from FormAttachment constructor (SWT.RIGHT for example).
Next part of source was made Jigloo but can't be read back:
// Group topPanel;
// Group infoPanel;
FormData infoPanelLData = new FormData();
infoPanelLData.top = new FormAttachment(topPanel, 0);
infoPanelLData.bottom = new FormAttachment(topPanel, 75);
infoPanelLData.right = new FormAttachment(topPanel, 0, SWT.RIGHT); // Doesn't work with SWT.RIGHT (right alignment), but work perfectly without it.
infoPanelLData.left = new FormAttachment(0, 1000, 5);
infoPanel.setLayoutData(infoPanelLData); |