From 61ad75d52a44f3b26c4a93a61ea02e6900451ddd Mon Sep 17 00:00:00 2001 From: Athanasius <Athanasius@miggy.org> Date: Mon, 2 Jan 2023 13:02:22 +0000 Subject: [PATCH] Configure per-plugin Frame the same as main Frame It was observed that some text in the EDMC-Canonn plugin was wrapping in this branch when the same text doesn't in `develop. So, tweaked the plugin_frame setup to match the main UI frame setup: * `tk.NSEW` not `tk.EW` - didn't fix the problem, but we should match this. * `.columnconfigure(1, weight=1)` - this actually fixed the problem. --- EDMarketConnector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index ffdb8ab9..d901b448 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -578,8 +578,9 @@ class AppWindow(object): plugin_sep.grid(columnspan=2, sticky=tk.EW) ui_row = frame.grid_size()[1] plugin_frame.grid( - row=ui_row, columnspan=2, sticky=tk.EW + row=ui_row, columnspan=2, sticky=tk.NSEW ) + # plugin_frame.columnconfigure(1, weight=1) if isinstance(appitem, tuple) and len(appitem) == 2: ui_row = frame.grid_size()[1] appitem[0].grid(row=ui_row, column=0, sticky=tk.W)