Commit 382fe01
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 d7be959 commit 382fe01
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 | |
|---|---|---|---|
| |||
5270 | 5270 | | |
5271 | 5271 | | |
5272 | 5272 | | |
| 5273 | + | |
5273 | 5274 | | |
5274 | 5275 | | |
5275 | 5276 | | |
| |||
5295 | 5296 | | |
5296 | 5297 | | |
5297 | 5298 | | |
| 5299 | + | |
| 5300 | + | |
5298 | 5301 | | |
| 5302 | + | |
5299 | 5303 | | |
| 5304 | + | |
| 5305 | + | |
| 5306 | + | |
| 5307 | + | |
5300 | 5308 | | |
5301 | 5309 | | |
5302 | 5310 | | |
| |||
0 commit comments