1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

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 2023-01-02 13:02:22 +00:00
parent 991f69044c
commit 61ad75d52a
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

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)