From 9d66064a17b7c31abdf351dc188ff0b39df5a4ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Fri, 8 Apr 2016 05:41:40 -0500 Subject: [PATCH] Added grouping sizer to te search dialogue --- src/wxUI/dialogs/search.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wxUI/dialogs/search.py b/src/wxUI/dialogs/search.py index daee8ab..0aa95d1 100644 --- a/src/wxUI/dialogs/search.py +++ b/src/wxUI/dialogs/search.py @@ -20,9 +20,10 @@ class searchAudioDialog(widgetUtils.BaseDialog): sizer.Add(self.auto_complete, 0, wx.ALL, 5) self.lyrics = wx.CheckBox(panel, wx.NewId(), _(u"Search only songs with associated &lyrics")) sizer.Add(self.lyrics, 0, wx.ALL, 5) - self.artist_only = wx.RadioButton(panel, wx.NewId(), _(u"Search all songs with this title"), style=wx.RB_GROUP) - self.audios = wx.RadioButton(panel, wx.NewId(), _(u"Search audios of this artist")) - radioSizer = wx.BoxSizer(wx.HORIZONTAL) + staticbox = wx.StaticBox(panel, label=_(u"Search by")) + self.artist_only = wx.RadioButton(panel, wx.NewId(), _(u"&Title"), style=wx.RB_GROUP) + self.audios = wx.RadioButton(panel, wx.NewId(), _(u"&artist")) + radioSizer = wx.StaticBoxSizer(staticbox, wx.HORIZONTAL) radioSizer.Add(self.artist_only, 0, wx.ALL, 5) radioSizer.Add(self.audios, 0, wx.ALL, 5) sizer.Add(radioSizer, 0, wx.ALL, 5)