![]() |
Text Displays on Screen (Notes)
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:
Quote:
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. |
Well that makes sense, if it was a long paragraph, you wouldn't want it to chop words in half.
|
Quote:
So no biggie now that I know I just thought I would share the information. |
FYI, so far I've found no down-side to haveing extreamly large templates. Height and width of the template gets cropped by the size setting of the control's style and the control itself. Scrolling only becomes an issue if the displayed text exceeds the control's dimentions.
OTOH, templates that are to small will produce some odd results, like dead space between a dropdown list and its scrollbar. Oh, also found it usefull to pad the left side of templates with a few pixels of dead space to keep populated text from bumping into surounding borders. |
Quote:
Ah! Thanks that's good to know. I'll do that next time. |
| All times are GMT -5. The time now is 12:20 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI