Commit 1a7bc84
committed
Deprecate insufficient Display#setRescalingAtRuntime() method
The method Display#setRescalingAtRuntime() allows to activate the
monitor-specific scaling mechanism on Windows. This must, however,
actually be activated before the Display is instantiated, like it is
done during the Display constructor execution if the system property for
global activation of monitor-specific scaling is specified. In
consequence, calling #setRescalingAtRuntime() does not take the full
intended effect.
This change deprecates the method so that the system property needs to
be set for proper initialization of the monitor-specific scaling
functionality.1 parent a6dd128 commit 1a7bc84
File tree
3 files changed
+14
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT
- cocoa/org/eclipse/swt/widgets
- gtk/org/eclipse/swt/widgets
- win32/org/eclipse/swt/widgets
3 files changed
+14
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6858 | 6858 | | |
6859 | 6859 | | |
6860 | 6860 | | |
| 6861 | + | |
| 6862 | + | |
6861 | 6863 | | |
| 6864 | + | |
6862 | 6865 | | |
6863 | 6866 | | |
6864 | 6867 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6294 | 6294 | | |
6295 | 6295 | | |
6296 | 6296 | | |
| 6297 | + | |
| 6298 | + | |
6297 | 6299 | | |
| 6300 | + | |
6298 | 6301 | | |
6299 | 6302 | | |
6300 | 6303 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5261 | 5261 | | |
5262 | 5262 | | |
5263 | 5263 | | |
| 5264 | + | |
5264 | 5265 | | |
5265 | 5266 | | |
5266 | 5267 | | |
| |||
5286 | 5287 | | |
5287 | 5288 | | |
5288 | 5289 | | |
| 5290 | + | |
| 5291 | + | |
5289 | 5292 | | |
| 5293 | + | |
5290 | 5294 | | |
| 5295 | + | |
| 5296 | + | |
| 5297 | + | |
| 5298 | + | |
5291 | 5299 | | |
5292 | 5300 | | |
5293 | 5301 | | |
| |||
0 commit comments