replace volume setting with slider control
This commit is contained in:
@@ -23,14 +23,13 @@ local wizardPage = UI.WizardPage {
|
|||||||
form = UI.Form {
|
form = UI.Form {
|
||||||
x = 2, ex = -2, y = 3, ey = -2,
|
x = 2, ex = -2, y = 3, ey = -2,
|
||||||
manualControls = true,
|
manualControls = true,
|
||||||
volume = UI.TextEntry {
|
volume = UI.Slider {
|
||||||
formLabel = 'Volume', formKey = 'volume',
|
formLabel = 'Volume', formKey = 'volume',
|
||||||
width = 5, limit = 3,
|
min = 0, max = 1,
|
||||||
validate = 'numeric',
|
help = 'Volume setting',
|
||||||
help = 'A value from 0 (mute) to 1 (loud)',
|
|
||||||
},
|
},
|
||||||
testSound = UI.Button {
|
testSound = UI.Button {
|
||||||
x = 15, y = 2,
|
x = 15, y = 3,
|
||||||
text = 'Test', event = 'test_sound',
|
text = 'Test', event = 'test_sound',
|
||||||
help = 'Test sound volume',
|
help = 'Test sound volume',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user