Commit a44ab90
committed
Process deferred layout requests before taking screenshot #1324
When the "expanded" property is set for an ExpandableComposite, the
"isLayoutDeferred()" property is set as well.
This causes the layout to be done _after_ the screenshot has been taken,
meaning that at that point it still has an empty size.
As a result, there is no image to show in the designer page.
Closes #13241 parent a3a8f58 commit a44ab90
File tree
2 files changed
+6
-0
lines changed- org.eclipse.wb.os/src/org/eclipse/wb/os
- org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/rcp/model/forms
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
0 commit comments