Modified some GUI parameters for lists

This commit is contained in:
Manuel Cortez 2016-06-07 05:32:27 -05:00
parent ba31b40d9b
commit e8e8dd91bc
2 changed files with 2 additions and 3 deletions

View File

@ -328,7 +328,6 @@ class Controller(object):
wx.CallAfter(self.chat_from_id, i["message"]["user_id"], setfocus=False) wx.CallAfter(self.chat_from_id, i["message"]["user_id"], setfocus=False)
def mark_as_read(self): def mark_as_read(self):
print "Marking as read"
ids = "" ids = ""
for i in self.buffers: for i in self.buffers:
if hasattr(i, "reads"): if hasattr(i, "reads"):

View File

@ -140,8 +140,8 @@ class list(object):
def set_windows_size(self, column, characters_max): def set_windows_size(self, column, characters_max):
self.list.SetColumnWidth(column, characters_max*2) self.list.SetColumnWidth(column, characters_max*2)
def set_size(self): def set_size(self): return
self.list.SetSize((self.list.GetBestSize()[0], 728)) # self.list.SetSize((self.list.GetBestSize()[0], 728))
def create_list(self, parent): def create_list(self, parent):
self.list = wx.ListCtrl(parent, -1, **self.listArguments) self.list = wx.ListCtrl(parent, -1, **self.listArguments)