Move MW to Bottom

This commit is contained in:
Mike A. Trethewey
2020-03-10 21:31:42 -07:00
parent 3e9880a6db
commit 0c1dc36335
5 changed files with 15 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ from CLI import parse_arguments
from Main import main
from Utils import local_path, output_path, open_file
import source.classes.constants as CONST
from source.gui.randomize.multiworld import multiworld_page
import source.gui.widgets as widgets
from source.classes.Empty import Empty
@@ -18,6 +19,10 @@ def bottom_frame(self, parent, args=None):
# Bottom Frame options
self.widgets = {}
mw,_ = multiworld_page(self, parent.settings)
mw.pack(fill=X, expand=True)
self.widgets = mw.widgets
# Seed input
# widget ID
widget = "seed"

View File

@@ -96,8 +96,8 @@ def loadcliargs(gui, args, settings=None):
gui.pages[mainpage].pages[subpage].widgets[widget].pieces["button"].configure(text=label)
# Get Multiworld Worlds count
mainpage = "randomizer"
subpage = "multiworld"
mainpage = "bottom"
subpage = "content"
widget = "worlds"
setting = "multi"
# set textbox/frame label
@@ -108,8 +108,8 @@ def loadcliargs(gui, args, settings=None):
gui.pages[mainpage].pages[subpage].widgets[widget].storageVar.set(str(args[setting]))
# Set Multiworld Names
mainpage = "randomizer"
subpage = "multiworld"
mainpage = "bottom"
subpage = "content"
widget = "names"
# set textbox/frame label
label = fish.translate("gui","gui",mainpage + '.' + subpage + '.' + widget)