Customizing the NVL menu
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Customizing the NVL menu
Hi, I need your help again. I want to change the hover and non-hover text colors for the NVL menu buttons.
-
- Regular
- Posts: 179
- Joined: Wed Mar 13, 2013 9:55 pm
- Completed: MazeSite01, Ponderings of Time
- Contact:
Re: Customizing the NVL menu
Wow, this question went unanswered for a really long time.
Code: Select all
init python:
# The color of a menu choice when it isn't hovered.
style.nvl_menu_choice.idle_color = "#ccccccff"
# The color of a menu choice when it is hovered.
style.nvl_menu_choice.hover_color = "#ffffffff"
# The color of the background of a menu choice, when it isn't
# hovered.
style.nvl_menu_choice_button.idle_background = "#00000000"
# The color of the background of a menu choice, when it is
# hovered.
style.nvl_menu_choice_button.hover_background = "#ff000044"
# How far from the left menu choices should be indented.
style.nvl_menu_choice_button.left_margin = 20
Who is online
Users browsing this forum: Google [Bot]