Using the Necromancer legacy GUI, how can I adjust the text sizes for the fonts?
I have tried adjusting corresponding GUILabel script rect sizes, but cannot get the
NPC text and the player response buttons to be larger.
Control text size
Re: Control text size
Hi,
Legacy GUI fonts are controlled by GUI Skins. For the Necromancer GUI, inspect Assets/Dialogue System/Prefabs/Legacy Unity GUI Prefabs/Necromancer/Necromancer GUI/NecromancerGUI.
For the response button, expand the Button style and set Font Size. The value is initially 0, which uses the default size of the font. You might try setting it to something like 20 or 24 to start with.
For the subtitles (NPC text), expand Custom Styles > PlainText.
If the GUI is in your Hierarchy, you can activate the Necromancer Dialogue UI/GUI Root and Dialogue Window GameObjects to see how the font sizes change as you edit the GUI Skin.
Legacy GUI fonts are controlled by GUI Skins. For the Necromancer GUI, inspect Assets/Dialogue System/Prefabs/Legacy Unity GUI Prefabs/Necromancer/Necromancer GUI/NecromancerGUI.
For the response button, expand the Button style and set Font Size. The value is initially 0, which uses the default size of the font. You might try setting it to something like 20 or 24 to start with.
For the subtitles (NPC text), expand Custom Styles > PlainText.
If the GUI is in your Hierarchy, you can activate the Necromancer Dialogue UI/GUI Root and Dialogue Window GameObjects to see how the font sizes change as you edit the GUI Skin.
Re: Control text size
Very good, thank you.
I also moved the initial position for the NPC text line to the right.
Can you tell me why it types in the right position, but after the
delay and the player response button appears, it jumps to the
left edge of the GUI panel?
I also moved the initial position for the NPC text line to the right.
Can you tell me why it types in the right position, but after the
delay and the player response button appears, it jumps to the
left edge of the GUI panel?
Re: Control text size
Hi,
Move the NPC Subtitle Reminder to the right, too.
When the NPC is delivering a line, the NPC Subtitle Line is visible.
When the response menu is up, the Subtitle Reminder is visible.
If you want them to look like the same thing, position them in the same place. Some designers want the reminder to look different from the subtitle line -- for example, tucked away in a smaller font to give more focus to the response menu.
This manual page describes when each UI element is active: When UI Elements Are Active
Move the NPC Subtitle Reminder to the right, too.
When the NPC is delivering a line, the NPC Subtitle Line is visible.
When the response menu is up, the Subtitle Reminder is visible.
If you want them to look like the same thing, position them in the same place. Some designers want the reminder to look different from the subtitle line -- for example, tucked away in a smaller font to give more focus to the response menu.
This manual page describes when each UI element is active: When UI Elements Are Active
Re: Control text size
Thank you for getting me on track.