|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| RightAlignmentLabels editing - 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 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
Andrei Member
|
Such label always keeps its borders unchanged. This is especially inconvenient in cases, when translation is longer than original. When the localized program is run, label displays correctly. However, in editor it looks "cut”, i.e. person reviewing controls repositioning cannot asses actual length of such label (please refer to attached screenshot). To determine if this label will display correctly (whether its width exceeds allowed space) user has to stretch it leftwards, until the full text is seen. Such operation actually changes label coordinates, which is also inconvenient, since once edited, this label will stop reacting to source changes (i.e. if source label will need to be edited after localization, localized version will ignore source changes). In such situation we could use “Stretch Bounds By Text”. However, if applied to RALabel, this action is pointless, since this will cause label's size to increase rightwards, not leftwards. Attachment: RALabels.PNG (Downloaded 26 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello, Yes you are right. Sisulizer after checking "Stretch Bounds By Text" change control width value proportionally to text length, but in your case (right alignment), Sisulizer should additional change also control X value. It could be more hard to implementation then changing only width value, because Sisulizer should to detect alignment, change width proportionally to text length, and change X value proportionally to width value, but I will ask our R&D about it. To determine if this label will display correctly (whether its width exceeds allowed space) user has to stretch it leftwards, until the full text is seen. Such operation actually changes label coordinates, which is also inconvenient, since once edited, this label will stop reacting to source changes (i.e. if source label will need to be edited after localization, localized version will ignore source changes).Yes, because if you change position and sizes of controls in visual editor Sisulizer automatically will be treat these changes as translated values. If you want, you can to test that in following way: Check Integer number checkbox in Filter panel. It allows you to see all controls sizes and position values in translation sheet. When you change in Visual editor e.g. sizes of label area, in appropriated translation cells appear new translated values. Look on translations indicated by red narrows on below screenshot. Attachment: screen.png (Downloaded 20 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Janusz Grzybek Super Moderator
|
Above example shows that Sisulizer treat localized control sizes/position values identical as localized strings, and for this reason after update source you won't see any changes in localization (language column, Visual editor) and localized output file, but you can to see changed strings in translation sheet after using scan feature, because these items will be marked with "Changed status". Look on below screenshot, and compare original values with screenshot from above post. For quick search changed items you could to use "Row statuses" filter. Best regards, Janusz Attachment: screen1.png (Downloaded 20 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
I will implement the automatic stretching also for right alignment labels. In that case the component will be shifted to right too.
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| Current time is 02:06 pm | |
| 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 > RightAlignmentLabels editing | |
Sisulizer software localization tool - Three simple steps to localize