Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbCenterText problem

Author
Message
nate
18
Years of Service
User Offline
Joined: 16th Aug 2005
Location:
Posted: 18th Aug 2005 22:55
If you have a newline ('\n') in the text you pass to dbCenterText it only centers the first line (i.e. the second line of text is left aligned to the first).
Sephnroth
21
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 19th Aug 2005 05:09
lol - for me I find \n does nothing in strings passed to center text :x But try it with the text extension i posted on this board somewhere, its much faster.

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 19th Aug 2005 11:05
I think dbCentreLine is only supposed to work with one line - can you imagine the time it would take to centre multi-line text ?

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk

Login to post a reply

Server time is: 2024-04-25 17:21:04
Your offset time is: 2024-04-25 17:21:04