Modified some GUI parameters for lists
This commit is contained in:
parent
ba31b40d9b
commit
e8e8dd91bc
@ -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"):
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user