Updated code for displaying timelines
This commit is contained in:
parent
758907a660
commit
2403881a7c
@ -15,19 +15,18 @@ class timelineDialog(widgetUtils.BaseDialog):
|
||||
userSizer = wx.BoxSizer()
|
||||
userSizer.Add(userLabel, 0, wx.ALL, 5)
|
||||
userSizer.Add(self.cb, 0, wx.ALL, 5)
|
||||
actionsstatic = wx.StaticBox(panel, label=_("Buffer type"))
|
||||
self.wall = wx.RadioButton(panel, wx.NewId(), _("&Wall posts"), style=wx.RB_GROUP)
|
||||
self.audio = wx.RadioButton(panel, wx.NewId(), _("Audio"))
|
||||
self.friends = wx.RadioButton(panel, wx.NewId(), _("Friends"))
|
||||
radioSizer = wx.StaticBoxSizer(actionsstatic, wx.HORIZONTAL)
|
||||
radioSizer.Add(self.wall, 0, wx.ALL, 5)
|
||||
radioSizer.Add(self.audio, 0, wx.ALL, 5)
|
||||
radioSizer.Add(self.friends, 0, wx.ALL, 5)
|
||||
sizer.Add(radioSizer, 0, wx.ALL, 5)
|
||||
actionsSizer = wx.StaticBoxSizer(parent=panel, orient=wx.VERTICAL, label=_("Buffer type"))
|
||||
self.wall = wx.RadioButton(actionsSizer.GetStaticBox(), wx.NewId(), _("&Wall posts"), style=wx.RB_GROUP)
|
||||
self.audio = wx.RadioButton(actionsSizer.GetStaticBox(), wx.NewId(), _("Audio"))
|
||||
self.friends = wx.RadioButton(actionsSizer.GetStaticBox(), wx.NewId(), _("Friends"))
|
||||
actionsSizer.Add(self.wall, 0, wx.ALL, 5)
|
||||
actionsSizer.Add(self.audio, 0, wx.ALL, 5)
|
||||
actionsSizer.Add(self.friends, 0, wx.ALL, 5)
|
||||
sizer.Add(actionsSizer, 0, wx.ALL, 5)
|
||||
ok = wx.Button(panel, wx.ID_OK, _("&OK"))
|
||||
ok.SetDefault()
|
||||
cancel = wx.Button(panel, wx.ID_CANCEL, _("&Close"))
|
||||
btnsizer = wx.BoxSizer()
|
||||
btnsizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
btnsizer.Add(ok, 0, wx.ALL, 5)
|
||||
btnsizer.Add(cancel, 0, wx.ALL, 5)
|
||||
sizer.Add(btnsizer, 0, wx.ALL, 5)
|
||||
|
Loading…
Reference in New Issue
Block a user