Auto-translated
I'm struggling with the TalkBox interface element. The lack of a scroll wheel is very annoying, as the text is limited to a small area within the standard window. I couldn't find a ready-made mod, and after my own attempts to modify the game files in a similar way to the MessageBox (which has a scrollbar), I only managed to achieve the following:
The elements used in MessageBox are described in the file "/UI/CommonBoxes/box0p.(windowsimpleshared).xdb" like this:
Item href="Box0p/ButtonOk.(WindowMSButton).xdb#xpointer(/WindowMSButton)"/>
Item href="title.(windowstatictext).xdb#xpointer(/WindowStaticText)"/>
Item href="Face.(WindowSimple).xdb#xpointer(/WindowSimple)"/>
Item href="Text.(WindowScrollableContainer).xdb#xpointer(/WindowScrollableContainer)"/>
Item href="MsgBoxText.(WindowTextView).xdb#xpointer(/WindowTextView)"/>
Apparently, the scroll wheel is controlled by the element:
Item href="Text.(WindowScrollableContainer).xdb#xpointer(/WindowScrollableContainer)
If you simply delete this line, the game crashes when you try to call MessageBox, meaning there are some additional dependencies.
If you add this line to the TalkBox description, for example, in a single-variant dialog "/UI/CommonBoxes/TalkBox/talkbox_1.(WindowSimpleShared).xdb", the game only displays inactive scroll arrows, and the text still overflows the allocated space when it's too large. This again suggests that the presence of the scrollbar must be specified somewhere else.
I'm at a dead end now. Perhaps someone who has made similar modifications to the interface can suggest what else I can try?