Changed screen.rpy:
Code: Select all
screen nvl(dialogue, items=None):
window:
style "nvl_window"
## Displays dialogue in either a vpgrid or the vbox.
if gui.nvl_height:
vpgrid:
cols 1
yinitial 1.0
use nvl_dialogue(dialogue)
else:
vbox spacing gui.nvl_spacing:
use nvl_dialogue(dialogue). #### Moved 'has vbox' to here so it won't affect choice frame below.
## Displays the menu, if given. The menu may be displayed incorrectly if
## config.narrator_menu is set to True.
if len(items) > 0:
frame:
background "gui/custom_ui/choice_frame.png"
xpos 420 ypos 640. #### Fixed position for the choice frame.
vbox:
spacing gui.nvl_spacing
yalign 0.5 #### Center-align for the choices, but it won't work.
for i in items:
textbutton i.caption:
action i.action
style "nvl_button"
add SideImage() xalign 0.0 yalign 1.0
------------------------
Applying xsize and ysize to the choice frame solved this.