This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198968

Summary: I18N: layout of Code Folding on option dialog not aligned properly with localized strings
Product: editor Reporter: nof8 <nof8>
Component: OptionsAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: keetcpw, masaki
Priority: P4 Keywords: I18N
Version: 7.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: editor settings translation bug screenshot
screenshot with --locale en --fontsize 20 --laf Metal

Description nof8 2011-05-28 11:08:02 UTC
Created attachment 108567 [details]
editor settings translation bug screenshot

Too long translation or no word wrap in russian translation in editor settings. Screenshot included.
Comment 1 Masaki Katakai 2011-05-30 01:22:26 UTC
Hi nof8,

Thank you very much for filing issue! It's a good finding!

It seems that the layout needs to be fixed so that localized labels can be layout-ed properly. It may happen in other languages too.
Comment 2 Masaki Katakai 2011-05-30 01:27:57 UTC
Created attachment 108581 [details]
screenshot with --locale en --fontsize 20 --laf Metal

It seems that the length of

   Use Code Folding:
   Collapse by Default:

labels are hardcoded or fixed.

So when these strings are longer than expected, layout is broken.
Comment 3 Masaki Katakai 2011-05-30 01:32:15 UTC
Hi Editor team,

It looks I18N issue of layout. Could you please evaluate?
Comment 4 Masaki Katakai 2012-02-19 07:33:19 UTC
*** Bug 208604 has been marked as a duplicate of this bug. ***
Comment 5 Milutin Kristofic 2012-10-26 11:19:23 UTC
Fixed in #198350