commit/StationPlaylist: josephsl: Visual enhancement: the alarm field and the associated checkbox now show up on a single line.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Tue, 03 Mar 2015 21:46:59 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/a2d70a5f19d0/
Changeset:   a2d70a5f19d0
Branch:      master
User:        josephsl
Date:        2015-03-03 21:46:43+00:00
Summary:     Visual enhancement: the alarm field and the associated checkbox 
now show up on a single line.

Affected #:  1 file

diff --git a/addon/appModules/splstudio/splconfig.py 
b/addon/appModules/splstudio/splconfig.py
index 6cabeab..50c001f 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -115,11 +115,10 @@ class SPLConfigDialog(gui.SettingsDialog):
 
        def makeSettings(self, settingsSizer):
 
-               sizer = wx.BoxSizer(wx.HORIZONTAL)
                # Translators: the label for a setting in SPL add-on settings 
to set status announcement between words and beeps.
                
self.beepAnnounceCheckbox=wx.CheckBox(self,wx.NewId(),label=_("&Beep for status 
announcements"))
                self.beepAnnounceCheckbox.SetValue(SPLConfig["BeepAnnounce"])
-               sizer.Add(self.beepAnnounceCheckbox, border=10,flag=wx.BOTTOM)
+               settingsSizer.Add(self.beepAnnounceCheckbox, 
border=10,flag=wx.TOP)
 
                self.outroSizer = wx.BoxSizer(wx.HORIZONTAL)
                # Check box hiding method comes from Alberto Buffalino's 
Columns Review add-on.
@@ -147,7 +146,7 @@ class SPLConfigDialog(gui.SettingsDialog):
 
                # Translators: The label for a setting in SPL Add-on settings 
to specify track intro alarm.
                self.introAlarmLabel = wx.StaticText(self, wx.ID_ANY, 
label=_("&Track intro alarm in seconds"))
-               self.introSizer.Add(self.outroAlarmLabel)
+               self.introSizer.Add(self.introAlarmLabel)
                self.songRampAlarm = wx.SpinCtrl(self, wx.ID_ANY, min=1, max=9)
                self.songRampAlarm.SetValue(long(SPLConfig["SongRampTime"]))
                self.introSizer.Add(self.songRampAlarm)

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: Visual enhancement: the alarm field and the associated checkbox now show up on a single line. - commits-noreply