|
|||
|
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 > Inconsistent Layout of Dialogs between Sisulizer Versions
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Inconsistent Layout of Dialogs between Sisulizer Versions - 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
|
The layout of dialogs is sometimes inconsistent between Sisulizer 1.6.28 and Sisulizer 2008 (Build 272). This can lead to different validation warnings being generated between the two versions. It appears that the layout of dialogs in Sisulizer 1.6.28 is closer to the actual layout on a running system. Comparing the screen images shows that both versions of Sisulizer are using identical fonts that match pixel for pixel. However, the layout is different. The only thing that could cause the difference is the value of DLGUNITs used to layout the controls. The resources define the position and size of the controls in terms of dialog units and so the size of these DLGUNITs must be different. The fact that the fonts appear identical means that a different method of calculating the DIALOG unit size is likely to blame. Could someone check these differences out and ensure that Sisuliser 2008 is performing the correct layout of dialogs and subsequent text clipping validation? I suspect the problem is more likely to appear with something like Russian as it doesn't use a 'Western' character set while French, English, Spanish all can use the same character set. Attachment: Layouts.PNG (Downloaded 21 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Olivier_ho Member
|
Hi, You will notice that your second dialog (Sisulizer 1.6.28) is larger than the first one (Sisulizer 2.0.272). All the texts in the dialog are the same; but the "Zadat tochku otschiota dlia" Label zone is narrower in the first image, which explains the truncation. Are you sure both dialogs are for the same version of the original file ? If so, is it a .Net development ? You can see a previous post from me : http://forum.sisulizer.com/forum4/939.html where I noticed a difference of layout in .Net addons, and this was fixed in Sisulizer 272. Best regards, Olivier.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello, This is effect of correction for displaying forms in visual editor, because sometimes form displayed in visual editor was different then real output file. Look on sample form screenshot from my real project. Sample text “iiiiiiiiiiiiiiiiiiiii iiiiiiiiiiia” is visible in Sisulizer 1.6 as not truncated. Attachment: screen.png (Downloaded 19 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Janusz Grzybek Super Moderator
|
But during edit localized (output) file, you will see truncated our sample text. Below is screenshot form of output binary file edited in Resource Hacker: Attachment: screen1.png (Downloaded 19 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Janusz Grzybek Super Moderator
|
Now you can found it directly in Sisulizer without analyze targeted file in external editors, because Visual Editor shows real form layout, and below result (Sisulizer 2008) is identical with view of this same form in targeted output file. Attachment: screen2.png (Downloaded 19 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
It seems that there are some rounding errors calculating the dialog units. In some cases the floafing point number will rounded to the nearest integer number. For example 6.35 to 6 and 6.55 to 7. There was however problems with some japanese fonts and those reqired rounding allways to up. Both 6,35 and 6,55 to 7. It seems that it doesn't work in every case. I will solve this for good now for the next build. Could you send me your EXE (and SLP) files includung the russian dialog support (at) sisulizer.fi
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Ilkka.Salmenius Administrator
|
This will be fixed in 274
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| Current time is 11:15 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 > Inconsistent Layout of Dialogs between Sisulizer Versions | |
Sisulizer software localization tool - Three simple steps to localize