forked from AuroraMiddleware/gtk
gtk-demo: Make the scale demo fully functional
The adjustments need to have step-increment and page-increment set up, or keynav and autoscrolling will not work.
This commit is contained in:
parent
6163b3b2b5
commit
ceb18a989e
@ -4,14 +4,20 @@
|
|||||||
<object class="GtkAdjustment" id="adjustment1">
|
<object class="GtkAdjustment" id="adjustment1">
|
||||||
<property name="upper">4</property>
|
<property name="upper">4</property>
|
||||||
<property name="value">2</property>
|
<property name="value">2</property>
|
||||||
|
<property name="step-increment">0.1</property>
|
||||||
|
<property name="page-increment">1</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkAdjustment" id="adjustment2">
|
<object class="GtkAdjustment" id="adjustment2">
|
||||||
<property name="upper">4</property>
|
<property name="upper">4</property>
|
||||||
<property name="value">2</property>
|
<property name="value">2</property>
|
||||||
|
<property name="step-increment">0.1</property>
|
||||||
|
<property name="page-increment">1</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkAdjustment" id="adjustment3">
|
<object class="GtkAdjustment" id="adjustment3">
|
||||||
<property name="upper">4</property>
|
<property name="upper">4</property>
|
||||||
<property name="value">2</property>
|
<property name="value">2</property>
|
||||||
|
<property name="step-increment">0.1</property>
|
||||||
|
<property name="page-increment">1</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="title" translatable="yes">Scales</property>
|
<property name="title" translatable="yes">Scales</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user