From cab075f86b95f9668b4dcd7600b068de8dd62cd0 Mon Sep 17 00:00:00 2001 From: stuart Date: Sun, 13 Dec 2009 18:06:54 +0000 Subject: [PATCH] Updated sound dialog, improving layout. --- gui/dialogs/sound.xml | 370 ++++++++++++++++++++++-------------------- 1 file changed, 191 insertions(+), 179 deletions(-) diff --git a/gui/dialogs/sound.xml b/gui/dialogs/sound.xml index e87437c8f..763db4fe7 100644 --- a/gui/dialogs/sound.xml +++ b/gui/dialogs/sound.xml @@ -14,196 +14,208 @@ - - fill - - - - - source-selection - fill - true - sim/gui/dialogs/sound-dialog/source-selection - - dialog-apply - source-selection - - - dialog-update - metar - - - hbox - left + + right + + - 10 - - - hbox - - - - - - - - - + + source-selection + fill + true + sim/gui/dialogs/sound-dialog/source-selection + + dialog-apply + source-selection + + + dialog-update + sound-dialog + + + + - hbox - left + table + center - 10 + + 0 + 0 + + 10 + + + + 0 + 1 + + 10 + - - hbox + + 0 + 2 + + 10 + - - /sim/sound/enabled - - - dialog-apply - - + + 0 + 3 + + 10 + - - 25 - /sim/sound/volume - - dialog-apply - - - + + 1 + 0 + + left + + + + 1 + 1 + /sim/sound/enabled + + dialog-apply + + + + + 1 + 2 + /sim/sound/volume + + dialog-apply + + + + + 2 + 0 + + left + + + + 2 + 1 + /sim/sound/effects/enabled + + dialog-apply + + + + + 2 + 2 + /sim/sound/effects/volume + + dialog-apply + + + + + 3 + 0 + + left + + + + 3 + 1 + /sim/sound/chatter/enabled + + dialog-apply + + + + + 3 + 2 + /sim/sound/chatter/volume + + dialog-apply + + + + + 4 + 0 + + left + + + + 4 + 1 + /sim/sound/avionics/enabled + + dialog-apply + + + + + 4 + 2 + /sim/sound/avionics/volume + + dialog-apply + + + + + 4 + 3 + /sim/sound/avionics/external-view + + dialog-apply + + + + + 5 + 0 + + left + + + + 5 + 1 + /sim/sound/atc/enabled + + dialog-apply + + + + + 5 + 2 + /sim/sound/atc/volume + + dialog-apply + + + + + 5 + 3 + /sim/sound/atc/external-view + + dialog-apply + + - - hbox - left - - 10 - - - hbox - - - /sim/sound/effects/enabled - - - dialog-apply - - - - - 25 - /sim/sound/effects/volume - - dialog-apply - - - - - - - hbox - left - - 10 - - - hbox - - - /sim/sound/chatter/enabled - - - dialog-apply - - - - - 25 - /sim/sound/chatter/volume - - dialog-apply - - - - - - - hbox - left - - 10 - - - hbox - - - /sim/sound/avionics/enabled - - - dialog-apply - - - - - 25 - /sim/sound/avionics/volume - - dialog-apply - - - - - /sim/sound/avionics/external-view - - - dialog-apply - - - - - - - hbox - left - - 10 - - - hbox - - - 300 - /sim/sound/atc/enabled - - - dialog-apply - - - - - 25 - /sim/sound/atc/volume - - dialog-apply - - - - - /sim/sound/atc/external-view - - - dialog-apply - - - - + hbox @@ -246,7 +258,7 @@ return nil; }; - # fill the sounde device combo box + # Fill the sound device combo box var combo = findElementByName( dlg_root, "source-selection" ); var wsn = props.globals.getNode( "sim/sound/devices" ); if( wsn != nil ) {