From: Laurent D. <lau...@uf...> - 2000-09-12 17:07:27
|
Keiichi Takahashi wrote: > > Hi Laurent, > > Thank you for your quick response! > Immediately, I patched the file you sent, but the result seems the same as before as > shown in test1b.gif. > > I tested this underline escape on simple button widget with msgcat and ja.msg. > The sample script is 'button_ok.tcl' and the result is shown in test6a.gif. > > On purpose to compare with normal widget which has the same Japanese string without > underline, 'button_ok_jp.tcl' is also implemented. (Sorry this includes Japanese > characters....) The result is shown in test6b.gif. > > They show that calculation of string width for multi-byte character looks correct on > normal widget such as button. But, on built-in widget, such as tk_messageBox and > tk_getSaveFile and so on, the calculation may be incorrect for some reason, though I > do not know why. > > I am very sorry that I have not enough time to look into sources of Tk in detail, but > just let you know the result for your patch. Thanks. > The reason is that I haven't had time to update the msgmax instances in the dialogs (stoopid me). I just have to change all instances of things like ::msgcat::msgmax OK to ::msgcat::msgmax O\_K It's not hard to do but I haven't had time and I forgot to mention it this morning. If someone else has the time to do it and provid the patches today, that would be great. Otherwise, I'll do it on the train tonight and you'll get it tomorrow morning. L -- MY EMAIL ADDRESS HAS CHANGED --> UPDATE YOUR ADDRESSBOOK Laurent Duperval "Montreal winters are an intelligence test, Netergy Networks - Java Center and we who are here have failed it." Phone: (514) 282-8484 ext. 228 -Doug Camilli mailto:lau...@ne... Penguin Power! -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |