|
|||
|
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Dialog Preview Update problem after changing fonts
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Dialog Preview Update problem after changing fonts - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
mdunmill Member
|
In a Win32/MFC based Sisulizer Project, and you change the Font that is used for a dialog, then the dialog may resize as a result. The background of the dialog will not always be repainted properly if the new dialog is smaller in one or both of the dimensions. Clicking in the dialog preview or re-selecting the dialog causes the dialog preview window to be completely repainted which fixes the paint problem. (i.e. it appears that the preview window needs to invalidate the rectangle covering the old dialog to force the correct repaint of the background to the new dialog) e.g. Change a dialog between "Courier New,8" and "Times New Roman,8" and the new dialog layout will be smaller but you'll see part of the old dialog layout that was not repainted. See below: Attachment: DialogRepaint.PNG (Downloaded 20 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello, Thank you for reporting it. Dialog controls sizes are depend on font size and I reproduced it in my sample project for changing font size to smaller e.g. MS Shell Dlg 10 to MS Shell Dlg 8 (but not vice versa). Here workaround: If you have "frozen" old control sizes click in any area of visual editor for refresh it. Best regards, janusz
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Ilkka.Salmenius Administrator
|
I fixed it.
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
mdunmill Member
|
Well done! I've tested this in Version 2008 (Build 275) and it is now repainting properly after a font change. Thanks.
|
|||||||||||||
| ||||||||||||||
| Current time is 01:28 am | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Dialog Preview Update problem after changing fonts | |
Sisulizer software localization tool - Three simple steps to localize