Misc changes. Remove the width/height values for the slider, since
the root problem was a C++ bug. Remove the no-op hbox around the mute button, and make it "live" when clicked. Tried to make the slider live, but discovered that bindings don't work on them; gotta fix that. Change some of the wording to be more in line with standard conventions; hopefully Curt's OK with that. :)
This commit is contained in:
parent
6e40f10ab9
commit
cd9119008d
1 changed files with 11 additions and 9 deletions
|
@ -15,22 +15,24 @@
|
||||||
<label>Sound Configuration</label>
|
<label>Sound Configuration</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<group>
|
<checkbox>
|
||||||
<layout>hbox</layout>
|
<label>Mute Sound</label>
|
||||||
<checkbox>
|
|
||||||
<label>Pause Sound</label>
|
|
||||||
<property>/sim/sound/pause</property>
|
<property>/sim/sound/pause</property>
|
||||||
</checkbox>
|
<binding>
|
||||||
</group>
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<text><label>Volume:</label></text>
|
<text><label>Volume:</label></text>
|
||||||
<slider>
|
<slider>
|
||||||
<width>75</width>
|
|
||||||
<height>25</height>
|
|
||||||
<property>/sim/sound/volume</property>
|
<property>/sim/sound/volume</property>
|
||||||
</slider>
|
</slider>
|
||||||
|
<!-- This doesn't work: need to find out why and fix it. -Andy -->
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
|
@ -38,7 +40,7 @@
|
||||||
<default-padding>10</default-padding>
|
<default-padding>10</default-padding>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<legend>Dismiss</legend>
|
<legend>OK</legend>
|
||||||
<equal>true</equal>
|
<equal>true</equal>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-apply</command>
|
<command>dialog-apply</command>
|
||||||
|
|
Loading…
Add table
Reference in a new issue