|
a/doc/upplay.txt |
|
b/doc/upplay.txt |
|
... |
|
... |
119 |
a number of Preferences can be adjusted from the appropriately named
|
119 |
a number of Preferences can be adjusted from the appropriately named
|
120 |
submenu.
|
120 |
submenu.
|
121 |
|
121 |
|
122 |
And `Help`, there is no help...
|
122 |
And `Help`, there is no help...
|
123 |
|
123 |
|
|
|
124 |
[[hiresadjust]]
|
|
|
125 |
== Adjusting the font sizes on high resolution displays
|
124 |
|
126 |
|
125 |
|
127 |
Most people will find that the font sizes are too small on high DPI
|
|
|
128 |
displays.
|
|
|
129 |
|
|
|
130 |
As of version 1.2.5, the GUI can be partially adjusted by editing two style
|
|
|
131 |
sheet files. To adjust the font sizes:
|
|
|
132 |
|
|
|
133 |
- Edit `/usr/share/upplay/cdbrowser/cdbrowser.css`, and uncomment the
|
|
|
134 |
"font-size" directive at the top. Adjust the 30px to taste.
|
|
|
135 |
- Edit `/usr/share/upplay/common.css` and adjust the 6 font-size
|
|
|
136 |
directives. An adequate approach will usually be to multiply the sizes by
|
|
|
137 |
some constant factor (e.g.: 2 ...).
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
The adjustment is not perfect for now: the player section does not update
|
|
|
141 |
its size, which means that some titles will be truncated (in the top left
|
|
|
142 |
area), and the icon sizes are unchanged.
|
|
|
143 |
|
|
|
144 |
There are other, system-based, approaches described on the following Qt page:
|
|
|
145 |
http://doc.qt.io/qt-5/highdpi.html
|