summarylogtreecommitdiffstats
path: root/com.ubuntu.user-interface.gschema.xml
blob: 62e04e97174c6b9b55d158c00db2157760994fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gsettings-ubuntu-touch-schemas">
    <schema path="/com/ubuntu/user-interface/" id="com.ubuntu.user-interface">
        <key type="a{si}" name="scale-factor">
        <summary>Per monitor scale factor</summary>
        <default>{}</default>
        <description>Per monitor scale factor for all user interface components. The values are stored in a dictionary where the keys are IDs of monitors and the values are the scale factors. The scale factors are not the traditional float scale factors that one might expect. Instead they are integers that need to be divided by 8 before being used as regular scale factors. That limits the number of possible scalings applied to the UI without jeopardizing flexibility (there is still enough possible scalings for all devices out there). This limiting allows for better testing since there is now only a finite number of possible scalings. The scale factor also maps directly to the grid units used in the Ubuntu UI Toolkit where one grid unit is exactly equal to 'scale factor' number of pixels.</description>
        </key>
    </schema>
    <schema path="/com/ubuntu/user-interface/desktop/" id="com.ubuntu.user-interface.desktop">
        <key type="u" name="scaling-factor">
            <default>0</default>
            <summary>Window scaling factor</summary>
            <description>Integer factor used to scale windows by. For use on high-dpi screens. 0 means pick automatically based on monitor.</description>
        </key>
        <key type="d" name="text-scaling-factor">
            <range min="0.5" max="3.0"/>
            <default>1.0</default>
            <summary>Text scaling factor</summary>
            <description>Factor used to enlarge or reduce text display, without changing font size.</description>
        </key>
        <key type="i" name="cursor-size">
            <default>24</default>
            <summary>Cursor size</summary>
            <description>Size of the cursor used as cursor theme.</description>
        </key>
    </schema>
</schemalist>