Mantiene leggibili le griglie inventario anche nelle finestre piccole
This commit is contained in:
@@ -74,6 +74,13 @@ class InventoryGuiTests(unittest.TestCase):
|
||||
for suffix in ("ready", "formula", "legend.A", "legend.B", "legend.C", "legend.X"):
|
||||
self.assertTrue(catalog[lang]["inventory." + suffix])
|
||||
|
||||
def test_small_window_keeps_both_grids_visible(self):
|
||||
self.win.geometry("900x560+4000+0")
|
||||
self.win.deiconify()
|
||||
self.root.update_idletasks()
|
||||
self.assertGreaterEqual(self.win.tree.winfo_height(), 80)
|
||||
self.assertGreaterEqual(self.win.lot_tree.winfo_height(), 80)
|
||||
|
||||
def test_selection_populates_lot_and_container_details(self):
|
||||
self.win._loaded(self.sample())
|
||||
self.win.tree.selection_set("0")
|
||||
|
||||
Reference in New Issue
Block a user