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.
This commit is contained in:
Athanasius committed 2023-01-02 13:02:22 +00:00
1 parent 991f69044c
commit 61ad75d52a
1 file changed
+2 -1
+2 -1
View File
@@ -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)