Now it's possible to post simple comments (without attachments)

This commit is contained in:
2016-03-26 22:03:43 -06:00
parent 891135cc70
commit b944700198
2 changed files with 12 additions and 8 deletions

View File

@@ -21,8 +21,10 @@ class basicPost(widgetUtils.BaseDialog):
return box
def create_comments_list(self):
lbl = wx.StaticText(self.panel, -1, _(u"Comments"))
self.comments = widgetUtils.list(self.panel, _(u"User"), _(u"Comment"), _(u"Date"), _(u"Likes"), style=wx.LC_REPORT)
box = wx.BoxSizer(wx.HORIZONTAL)
box.Add(lbl, 0, wx.ALL, 5)
box.Add(self.comments.list, 0, wx.ALL, 5)
return box