[teiid-designer-dev] [Teiid-Designer/teiid-designer] 5a52a5: TEIIDDES-1475: Workaround for the title causing Gr...
Barry LaFond
blafond at redhat.com
Mon Aug 20 11:21:04 EDT 2012
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 5a52a509fde40d5fe185e7801b8de566a0870d42
https://github.com/Teiid-Designer/teiid-designer/commit/5a52a509fde40d5fe185e7801b8de566a0870d42
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2012-08-17 (Fri, 17 Aug 2012)
Changed paths:
M plugins/org.teiid.designer.ui.common/src/org/teiid/designer/ui/common/util/WidgetFactory.java
Log Message:
-----------
TEIIDDES-1475: Workaround for the title causing Group layout problems
* Instead of using group.setText, this adds the title as a single lable at
the top of the group.
* Since some clients use the WidgetFactory.createGroup method then proceeed
to modify the layout of the group themselves, the span of the layout may
be incorret, resulting in the title being added to the same line as other
child components. To avoid, a paint listener is added to the group that
sets the grid data properties of the title at the last possible minute.
This ensures the title remains on a line on its own.
Commit: 8341ecb2d55ebd631a5d270735b1eecda6a2b45c
https://github.com/Teiid-Designer/teiid-designer/commit/8341ecb2d55ebd631a5d270735b1eecda6a2b45c
Author: Barry LaFond <blafond at redhat.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)
Changed paths:
M plugins/org.teiid.designer.ui.common/src/org/teiid/designer/ui/common/util/WidgetFactory.java
Log Message:
-----------
Merge pull request #7 from phantomjinx/teiiddes-1475
TEIIDDES-1475: Workaround for the title causing Group layout problems
Compare: https://github.com/Teiid-Designer/teiid-designer/compare/4e54375279cb...8341ecb2d55e
More information about the teiid-designer-dev
mailing list