View Full Version : Multi-line wordwrapped text
Rob H
July 2nd, 2004, 06:15 AM
This bug doesn't appear to have been fixed, do I need a new version of NetRemoteFeedback.lua
Ben S
July 2nd, 2004, 06:23 AM
You need to make a change to the feedback file.
The change is ...
function Private.PackLabel(label,value)
--label = %Private.Quote(label)
--value = %Private.Quote(value)
--return "SET "..label.." "..value.."\n"
return "PACKSET "..strlen(label).." "..strlen(value).."\n"..label..value;
end
Note that I've just commented out what was there previously, and have it returning the PACKSET string.
Note that SET is still supported from the NetRemote side for compatibility.
Rob H
July 2nd, 2004, 06:37 AM
Thanks Ben
I have found a couple of bugs though.
Wordwrapped text is centred vertically in the frame - there needs to be an option to align to either the top or bottom. Not a show-stopper but it looks a bit odd.
If the wordwrapped text is too big to fit vertically in the button then it exceeds the bounds of the button (above and below).
Later...
This only applies to multiline text, normal text works as before (top aligned)
Ben S
July 2nd, 2004, 06:47 AM
Thanks Rob - I'll fix these items.
It works better, though, right? Less bugs in this part than 0.996rc3? :)
Rob H
July 2nd, 2004, 06:57 AM
Less bugs in this part than 0.996rc3? :)
No, but there are certainly fewer :D
That's one of the solecisms that pushes my buttons so I couldn't resist.
Ben S
July 2nd, 2004, 07:04 AM
Would it be correct to say "less number of bugs"? :wink:
I learned a new word today, though. Solecism. Nice!
Rob H
July 2nd, 2004, 07:13 AM
:)
"A lesser number of bugs" perhaps, but it's an ugly construction
While I'm on a grammar/spelling kick, you might want to edit the description of the interface gallery - you've mistyped maintainable (as maintable).
Ben S
July 2nd, 2004, 07:17 AM
Uh. That's what I meant. A user maintable, as in ... uh ... the main table at a restaurant, where you can ... uh ... forget it. It's fixed.
Rob H
July 2nd, 2004, 07:19 AM
LOL!!
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.