...
Ok, having added the Arcanist Target Window mod into Bitter Black, I didn't like the format that the Mobile Health Bar received.
Here's the "default" version when you load up ATW in Bitter Black.
Issues that caught my eye were:
1. the X button is offset from the "pattern" that holds the button.
2. Hits Percentage is on top of the name.
3. The name is WELL below the entire health bar gump.
Here are the "offending" portions of code (brackets removed to show code) :
1. The X Button (Closes gump)
<font class="small">Code:</font><hr /><pre>Button name="$parentClose" inherits="LargeCloseButton" handleinput="true" layer="default" poppable="false"
Size
AbsPoint x="28" y="31" />
/Size
Anchors
Anchor point="topright" relativePoint="topright"
AbsPoint x="0" y="-2" /
/Anchor
/Anchors
EventHandlers
EventHandler event="OnLButtonDown" function="MobileHealthBarWindow.LeftClickClose" /
/EventHandlers
/Button</pre><hr />
The corrected version of this is:
<font class="small">Code:</font><hr /><pre>Button name="$parentClose" inherits="LargeCloseButton" handleinput="true" layer="default" poppable="false"
Size
AbsPoint x="28" y="31" /
/Size
Anchors
Anchor point="topright" relativePoint="topright"
AbsPoint x="-12" y="4" /
/Anchor
/Anchors
EventHandlers
EventHandler event="OnLButtonDown" function="MobileHealthBarWindow.LeftClickClose" /
/EventHandlers
/Button</pre><hr />
This places the X button DIRECTLY on the circle from which it was offset giving the gump a more streamlined appearance.
2. Hit Percentage.
Original code:
<font class="small">Code:</font><hr /><pre>Label name="$parentMhbWindowHits" font="UO_DefaultText" maxchars="60" textalign="center" handleinput="false" wordwrap="false" linespacing="18" poppable="false"
Size
AbsPoint x="228" y="32" /
/Size
Anchors
Anchor point="left" relativePoint="right" relativeTo="$parentClose"
AbsPoint x="15" y="8" /
/Anchor
/Anchors
Color r="255" g="255" b="255" a="255" /
/Label
</pre><hr />
At first I simply moved the name up, but decided I wanted the name on the left and the hits percentage on the right. However after a few tests, having the two on the same line causes the two to get jumbled when you bring up a long named player, NPC, or monster, so I decided to place it right justified on a lower line than the name and came up with the following correction:
<font class="small">Code:</font><hr /><pre>Label name="$parentMhbWindowHits" font="UO_DefaultText" maxchars="60" textalign="right" handleinput="false" wordwrap="true" linespacing="18" poppable="false"
Size
AbsPoint x="228" y="32" /
/Size
Anchors
Anchor point="left" relativePoint="right" relativeTo="$parentClose"
AbsPoint x="0" y="22" /
/Anchor
/Anchors
Color r="255" g="255" b="255" a="255" /
/Label
</pre><hr />
3. Name
This one really irked me because it was WELL lower than it should have been as you can see in the bolded portions:
<font class="small">Code:</font><hr /><pre>Label name="$parentName" font="UO_DefaultText" maxchars="60" textalign="center" handleinput="false" wordwrap="false" linespacing="18" poppable="false"
Size
AbsPoint x="228" y="32" /
/Size
Anchors
Anchor point="left" relativePoint="right" relativeTo="$parentClose"
AbsPoint x="15" y="45" /
/Anchor
/Anchors
Color r="255" g="255" b="255" a="255" /
/Label</pre><hr />
Y=45 sends it WAY down. So after tweaking it a bit, I put it as far left as it would go and stay inside the gump and just below the life bar within the gump and came up with this correction:
<font class="small">Code:</font><hr /><pre>Label name="$parentName" font="UO_DefaultText" maxchars="60" textalign="left" handleinput="false" wordwrap="true" linespacing="18" poppable="false"
Size
AbsPoint x="228" y="32" /
/Size
Anchors
Anchor point="left" relativePoint="right" relativeTo="$parentClose"
AbsPoint x="10" y="5" /
/Anchor
/Anchors
Color r="255" g="255" b="255" a="255" /
/Label
</pre><hr />
After these modifications, which took some time of testing different values, the same health bar looks like this:
The best part is that a longer name in the field will be entirely above the Hits: XX% display so the two do not conflict in the least.
Final comparison:
Before:

After:
