this is what happens when i copy the code over :( its mostly unedited other than the frame code block you showed.
before i yoinked this template the code worked fine so i dont know what to do
Looking closer, this code relies on the default layout of the history screen and the provided styles. The template styles use an hbox rather than a window + name label positioned individually. It'll be easier if you just adjust the existing code and modify it how you like. For example, you can modify the first few lines of the history screen:
screen history():
tag menu
## Avoid predicting this screen, as it can be very large.
predict False
# add HBox(Transform("#292835", xsize=350), "#21212db2") # The background; can be whatever
# use game_menu(_("History"))
frame:
align (0.5, 0.5) xysize (1450, 900)
textbutton _("Return") align (1.0, 1.0) action Return()
viewport:
mousewheel True draggable True pagekeys True
scrollbars "vertical" yinitial 1.0
has vbox
style_prefix "history"Make whatever adjustments you like to the sizes of everything.