Commit 4295083
[GTK] Replaceing usages of Display#getDPI from gtk
Having the scale factor being based on the screen DPI leads to
unexpected result e.g. Image too big/small. Having a screen dpi
independent factor leads to consistent results.1 parent 9740516 commit 4295083
File tree
2 files changed
+8
-6
lines changed- bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt
- graphics
- widgets
2 files changed
+8
-6
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5053 | 5053 | | |
5054 | 5054 | | |
5055 | 5055 | | |
5056 | | - | |
| 5056 | + | |
| 5057 | + | |
5057 | 5058 | | |
5058 | 5059 | | |
5059 | 5060 | | |
| |||
0 commit comments