Commit 30298b2
committed
Set size of InformationControl before setLocation
This commit changes the order of how size and location of a
newly created InformationControl is set. The order must be setSize
followed by setLocation as setting location of the control first could
cause DPI_CHANGE events in win32 since the OS is responsible for providing
the size to the control o creation and tthis size can be very big spanning
across multiple monitors.
contributes to
eclipse-platform/eclipse.platform.swt#62 and
eclipse-platform/eclipse.platform.swt#1271 parent 1e74269 commit 30298b2
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.jface.text/src/org/eclipse/jface/text
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | | - | |
1189 | 1188 | | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
0 commit comments