Cloudgarden's Discussion Board
Forums: Search: Several forums are available for people to post questions/comments about Java Speech or any of the CloudGarden products. As more messages are posted this discussion board should provide a useful, searchable, support database.
o AliceTalker (42)
o JSAPI Projects (69)
o Java Speech API (857)
o Jigloo GUI Builder for Eclipse (3322)
o SwingScroller (0)
o US Election 2004 (3)
Searches text and subject fields in all forums. The search matches as many words as possible. Don't use "AND" or "OR".
Latest "Jigloo GUI Builder for Eclipse" Topics [ Start new "Jigloo GUI Builder for Eclipse" Topic  ]

Cloudgarden Discussion Board  
This topic has 0 replies.       [ << Previous Topic | Start of Thread | >> Next Topic ]
Jigloo & SWT - layout bug.
Author: Sap
02/07/11 04:33 Reply
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);