So, I've been trying my hand at updating the dialog gui to make it look more like vanilla Morrowind. Just about everything is working good so far, all of the widgets are in closer positions as they are in vanilla Morrowind, and you can resize and move the window. Also, I have added the transparent background.
However, I'm having troubles with this bit:
Code: Select all
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 588 275" name="_Main">
<!-- HEADER -->
<Widget type="TextBox" skin="MW_Caption" position="0 0 588 18" name="NpcName" align="ALIGN_LEFT ALIGN_TOP">
<Property key="Caption" value="Name"/>
<Property key="TextAlign" value="ALIGN_CENTER"/>
</Widget>
This is in the openmw_dialog_window_layout.xml file. The problem that I am having is that the NPC's name is right below the window border. See the pic below.
So, I'm trying to figure out how to combine the NpcName widget to actually display the name of the NPC in the window title. Any advice? I'm not a MyGUI guru, I just figured this out by playing around with the XML files.