ListBox Display Wierdness.
Data:
Type: text
Name: DataItem2
Text: Shake First!
Value: shakefist
Problem: Shake Fist! displays Shake
Test:
S hake Fist! displays S hake
Sh ake Fist! displays Sh ake
Sha ke Fist! displays Sha ke
Shak e Fist! displays Shak e
Shake Fist! displays Shake
ShakeFist! displays ShakeFist
ShakeF ist! displays ShakeF
ShakeFi st! displays ShakeFi
ShakeFis t! displays ShakeFis
ShakeFist ! displays ShakeFist
Basically it looks like if the word is going to 'wrap' the entire thing gets truncated. A noraml text type editor would kick this down to the next line in this case, but looks like EQ2 just clips the entire word.
So be careful with tables and listboxes and list, because if your last word goes past the boundary of the list box, the whole word gets clipped.
In this example this was controlled my my list template.
eq2ui_emotelist_template.xml
With NO other changes except for this number. It changed the display from (Shake) to (Shake Fist!)
Displays (Shake)
Quote:
<Text Font="/Fonts.FontArialBold15" LocalText="$text$" Name="New Text" ScrollExtent="67,15" Size="67,15" TextAlignmentVertical="Center">$text$</Text>
|
Displays (Shake Fist!)
Quote:
<Text Font="/Fonts.FontArialBold15" LocalText="$text$" Name="New Text" ScrollExtent="73,15" Size="73,15" TextAlignmentVertical="Center">$text$</Text>
|
67 to 73 displayes the whole phrase. (I.E. Added the 6, which there is turns out to be 6 characters. SPACE-F-I-S-T-!
So, if it cannot display the entire word, it will clip the entire word.
In this case the size set in my template was the culprit.
Not. trying to find the correct (Space) code character.