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.
Summary: | I18N - hardcoded font sizes in source code not relative toglobal font | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Ken Frank <kfrank> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jf4jbug, mmetelka |
Priority: | P2 | Keywords: | I18N |
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 33246 | ||
Attachments: | patch whch solves the issue, text version |
Description
Ken Frank
2003-05-15 20:25:10 UTC
Created attachment 10512 [details]
patch whch solves the issue, text version
fixed in main trunk. cvs output: /cvs/form/src/org/netbeans/modules/form/fakepeer/FakeComponentPeer.java,v <-- FakeComponentPeer.java new revision: 1.23; previous revision: 1.22 /cvs/form/src/org/netbeans/modules/form/actions/EventsAction.java,v <-- EventsAction.java new revision: 1.30; previous revision: 1.29 if verification should be in ide itself, can you tell us what window corresponds to the code line that was fixed ? ken.frank@sun.com I've completed the fix: /cvs/form/src/org/netbeans/modules/form/fakepeer/FakePeerSupport.java new revision: 1.15; previous revision: 1.14 /cvs/form/src/org/netbeans/modules/form/BeanSupport.java new revision: 1.31; previous revision: 1.30 The fix actually cannot be verified because it has probably no visual effect (the font used will still have 12pts). Unfortunately I have no option to test it by myself. The problem is in the font size of designed components in the form designer - form editor creates the components with real default font as the form would have when running as standalone application, having no explicit font set and not influeneced by the IDE custom look&feel modification. I don't know how the IDE font size is actually set - if it is via the -fontsize switch, then the designed forms will use the real look&feel and AWT default 12pts fonts; if the font size is automatically adjusted on the look&feel level when running on another locale, then the form editor will use this default font size correctly. But in both case I think that the form editor behaves correctly now. Integrated into [release35]: Checking in src/org/netbeans/modules/form/BeanSupport.java; /cvs/form/src/org/netbeans/modules/form/BeanSupport.java,v <-- BeanSupport.java new revision: 1.30.30.1; previous revision: 1.30 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/form/actions/EventsAction.java; /cvs/form/src/org/netbeans/modules/form/actions/EventsAction.java,v <-- EventsAction.java new revision: 1.29.2.1; previous revision: 1.29 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/form/fakepeer/FakeComponentPeer.java; /cvs/form/src/org/netbeans/modules/form/fakepeer/FakeComponentPeer.java,v <-- FakeComponentPeer.java new revision: 1.22.4.1; previous revision: 1.22 done Checking in src/org/netbeans/modules/form/fakepeer/FakePeerSupport.java; /cvs/form/src/org/netbeans/modules/form/fakepeer/FakePeerSupport.java,v <-- FakePeerSupport.java new revision: 1.14.2.1; previous revision: 1.14 done verified as per comments from developer below since this is not one that can be verified in the ide itself. |