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.
On project property dialog, buttons for "Add File...", "Detect File..." and "Remove Files" are not resized properly when we localize these strings. So the same labels are displayed and user can not understand the meanings. Will attach the screenshots.
Created attachment 83046 [details] screenshot (English)
Created attachment 83047 [details] screenshot (Japanese) - there are 3 buttons that have the same label
Sounds like an unpleasant bug. Does the button show a tooltip, so the user can see the full label when hovering the mouse? Or is there some other workaround? Thanks.
No tooptip there. So quick workaround for 6.7 is to use shorter localized string. It looks this issue happens seriously on Japanese. Chinese and Brazilian Portuguese are OK. So I changed Japanese translations for workaround.
Masaki, as I understand it the problem is that the translations are too long, so when they are shortened to fit the button width, it seems that they are all the same (as the texts begin with the same..?) what do you propose as a fix? Some possibilities: - Increase button size for longer translations (Is it ok from the UI point of view, that the button lengths would differ for different localizations?) - Introduce tooltips to clarify the function of each button. - both? Please let me know which do you think is best.
Hi Petr, thank you for evaluation. > the button lengths would differ for different localizations?) Yes, true. So the best way is not to use fixed width. Btw, another panel in "Configuration File Groups" tab looks OK, I don't see the similar issue, all buttons are resized properly for Japanese labels. "Add Group...", "Edit Group...", "Remove Group", "Add Files..." and "Remove File" buttons are resized good. I don't know the difference between "Configuration Files" and "Configuration File Group" tab, and how to fix on GUI builder. Can we use the same way for "Configuration Files" tab?
Created attachment 84820 [details] screenshot : "Configuration File Groups" looks OK, all buttons are adjusted and resized properly for Japanese
fixed in web-main: http://hg.netbeans.org/web-main/rev/66f8537dba69
Integrated into 'main-golden', will be available in build *200907230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/66f8537dba69 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #166315 - buttons on spring framework tab in project properties tabs will resize correctly
Thank you very much Petr, Perfect! Verified on build 200908021401.