Dealman Posted September 28, 2013 Share Posted September 28, 2013 I'm updating my Radio resource, and am adding something new that utilizes DX Text - and I'd like to utilize wordBreak, in case it's too long to fit inside the bounding box. I remember using this back in 1.3.3 without any problems. However, now with 1.3.4, I can't get this to work at all. It just outright refuses to work, no matter what. Does anyone else have this issue? Link to comment
Castillo Posted September 28, 2013 Share Posted September 28, 2013 Are you using the colorCoded argument? Wiki quote: colorCoded: Set to true to enable embedded #FFFFFF color codes. Note: clip and wordBreak are forced false if this is set. Link to comment
Dealman Posted September 28, 2013 Author Share Posted September 28, 2013 Are you using the colorCoded argument? No, clip and colorCoded are both set to false(Not to mention they are forced to false, even if set to true). As is everything else, just in case. I'm using a custom font but tried to set it back to "default", still doesn't work. I just did a quick test where as I made a new drawing via the GUI Editor and toggled word-wrapping, entered a long sentence and then it worked. But as soon as I moved that into a resource to try it from there, it doesn't work. I have absolutely no idea what is going on... Link to comment
Castillo Posted September 28, 2013 Share Posted September 28, 2013 Post the dxDrawText line you're using. Link to comment
Dealman Posted September 28, 2013 Author Share Posted September 28, 2013 dxDrawText("Artist: "..tostring(metaTable.artist), 914, 598, 1355, 653, tocolor(132, 31, 255, 255), 1.00, PDZFont, "left", "top", false, true, false, false, false) I've played around with the booleans but to no avail. Also tried changing the size of the bounding box so it's even bigger, still doesn't work. Edit: Not entirely sure what I did, but it seems to have been fixed now. I think all I did was move it around a little bit. Link to comment
Castillo Posted September 28, 2013 Share Posted September 28, 2013 Are you sure that it doesn't work? here it went to the other line. Link to comment
Dealman Posted September 28, 2013 Author Share Posted September 28, 2013 Are you sure that it doesn't work? here it went to the other line. It didn't work, but I somehow managed to fix it and I'm not entirely sure as to what exactly it was that fixed it. I think all I did was move it a bit further to the left and up a bit - then it worked. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now