HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Centering text in dialog boxes

02-25-2004, 08:33 AM#1
sheepofdoom
I am working on using a series of dialog boxes for some conversation in my game and in order to place text I am changing the title of the box to the text I want displayed (is there better way to do this?)

In order to prevent the text from overlapping the sides of the box I am using the "|n" character to create newlines. My problem is because of the varying size of the strings I am displaying on each line my text looks badly placed. Is there anyway to either centre or justify the text, or will I be stuck putting in extra spaces to align it?

Thanks,
SheepOfDoom
02-25-2004, 08:48 AM#2
Cubasis
:/

Generally dialogs just suck, sadly. They lack in alot of ways, I could explain to you what i don't like about them, but I did just that a few days ago. So no, you have no other tools to modify the text orientation in dialogs.

Though there are some good conversation utilities around, check the repistory, they are finished and tweaked and stuff.

Cubasis
02-25-2004, 08:53 AM#3
xXEarth-FuryXx
u could try ading spaces befor the text u want to center.