From e8e8dd91bc16ca03dd8c8bd34220ffff0f36ae66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Tue, 7 Jun 2016 05:32:27 -0500 Subject: [PATCH] Modified some GUI parameters for lists --- src/controller/mainController.py | 1 - src/widgetUtils/wxUtils.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 3158fde..22db09c 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -328,7 +328,6 @@ class Controller(object): wx.CallAfter(self.chat_from_id, i["message"]["user_id"], setfocus=False) def mark_as_read(self): - print "Marking as read" ids = "" for i in self.buffers: if hasattr(i, "reads"): diff --git a/src/widgetUtils/wxUtils.py b/src/widgetUtils/wxUtils.py index 627d56f..2f08081 100644 --- a/src/widgetUtils/wxUtils.py +++ b/src/widgetUtils/wxUtils.py @@ -140,8 +140,8 @@ class list(object): def set_windows_size(self, column, characters_max): self.list.SetColumnWidth(column, characters_max*2) - def set_size(self): - self.list.SetSize((self.list.GetBestSize()[0], 728)) + def set_size(self): return +# self.list.SetSize((self.list.GetBestSize()[0], 728)) def create_list(self, parent): self.list = wx.ListCtrl(parent, -1, **self.listArguments)