1 Commits

Author SHA1 Message Date
4830651886 fix: GUI увеличили 2021-04-29 00:11:16 +03:00
2 changed files with 7 additions and 7 deletions

View File

@@ -11,8 +11,8 @@ if "win" in sys.platform.lower():
else:
DEFAULT_URL = "http://0.0.0.0:8000"
BASE_W = 600
BASE_H = 400
BASE_W = 1600
BASE_H = 600
TITLE_APP = "ToDo Application"

View File

@@ -5,9 +5,9 @@ def str_time(time):
return time.strftime("%Y-%m-%d %H:%M:%S")
TODO_ITEM_TABLE_TEXT_WIDTH = 15
TODO_ITEM_TABLE_FINISHED_WIDTH = 8
TODO_ITEM_TABLE_CREATED_AT_WIDTH = 15
TODO_ITEM_TABLE_TEXT_WIDTH = 24
TODO_ITEM_TABLE_FINISHED_WIDTH = 12
TODO_ITEM_TABLE_CREATED_AT_WIDTH = 24
def placeholder():
@@ -147,14 +147,14 @@ class WorkSpaceFrame(tk.Frame):
# data
self.lists = user.fetchUserLists()
self.add_list_text = tk.Text(self, width=15, height=1)
self.add_list_text = tk.Text(self, width=25, height=1)
self.add_list_text.pack(anchor="sw")
add = tk.Button(self, text="Добавить лист", command=self.add_list)
add.pack(anchor="sw")
# select list box
self.listBox = tk.Listbox(self, width=30, selectmode=tk.SINGLE)
self.listBox = tk.Listbox(self, width=40, selectmode=tk.SINGLE)
self.listBox.pack(side="left", fill="y")
self.listBox.bind("<<ListboxSelect>>", self.listBox_selected)