Tuner.Spin
A numeric row with increment/decrement buttons for number settings.
| Property | Type | Description |
|---|---|---|
title | string | Row title |
subtitle | string | Text under the title |
digits | uint | Number of decimal places to display |
blp
Tuner.Spin {
title: _("Text scaling factor");
digits: 2;
binding: Tuner.Setting {
schema-id: "org.gnome.desktop.interface";
schema-key: "text-scaling-factor";
};
}WARNING
Tuner.Spin works only with Tuner.Setting and only when the schema key defines a <range>:
xml
<key name="text-scaling-factor" type="d">
<range min="0.5" max="3.0"/>
...
</key>If the key has no range, the row is silently not created.