Hi Fenik! First of all, great plugin, I've been using it for several of my games. Now I'm trying to customize the NVL textbox for my newest project, Skin Tailor. Changing the background image file went fine, the font and placing of the nvl textblocks/paragraphs worked as well, but I can't seem to change the spacing between the textblocks. Which codeline would I have to change to do that?
I've already been trying to things out in the dialogue_screens.rpy, but nothing seems to change the spacing. Below is how the NVL currently looks:
The NVL related code I could find is this in my project:
screen nvl(dialogue, items=None):
window:
style "nvl_window"
has vbox
spacing 15
use nvl_dialogue(dialogue)
## Displays the menu, if given. The menu may be displayed incorrectly if
## config.narrator_menu is set to True.
for i in items:
textbutton i.caption:
action i.action
style "nvl_button"
add SideImage() xalign 0.0 yalign 1.0
screen nvl_dialogue(dialogue):
for d in dialogue:
window:
id d.window_id
fixed:
yfit True
if d.who is not None:
text d.who:
id d.who_id
text d.what:
id d.what_id
## This controls the maximum number of NVL-mode entries that can be displayed at
## once.
define config.nvl_list_length = None
# The style for the NVL "textbox"
style nvl_window:
is default
#xfill True #yfill True
background "gui/basebox.png"
#padding (0, 15, 0, 30)
# The style for the text of the speaker's name
style nvl_label:
is say_label
xpos 645 xanchor 1.0
ypos 0 yanchor 0.0
xsize 225
min_width 225
textalign 1.0
# The style for dialogue in NVL
style nvl_dialogue:
is say_dialogue
xpos 250
ypos 175
xsize 870
ysize 150
# The style for dialogue said by the narrator in NVL
style nvl_thought:
is nvl_dialogue
style nvl_button:
xpos 675
xanchor 0.0