Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 27445 - [Dialogs] Dialog font should be used by jdt debug component
Summary: [Dialogs] Dialog font should be used by jdt debug component
Status: CLOSED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Luc Bourlier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 22229 (view as bug list)
Depends on:
Blocks: 19346
  Show dependency tree
 
Reported: 2002-11-29 23:19 EST by Sebastian Davids CLA
Modified: 2003-08-14 10:45 EDT (History)
1 user (show)

See Also:


Attachments
fixes (151.90 KB, patch)
2002-11-29 23:35 EST, Sebastian Davids CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Davids CLA 2002-11-29 23:19:05 EST
.
Comment 1 Sebastian Davids CLA 2002-11-29 23:35:59 EST
Created attachment 2594 [details]
fixes

fixes:

AppletMainTab
AppletParametersTab
JavaArgumentsTab
JavaClasspathTab
JavaConnectTab
JavaJRETab
JavaMainTab
JavaSourceLookupTab
JavaSourceLookupDialog
AddExceptionDialog
JavaBreakpointPreferencePage
JavaBreakpointPropertiesDialog
ProjectSelectionDialog
ThreadFilterViewer
AbstractJavaCommandTab
AddVMDialog
ComboFieldEditor
NameValuePairDialog
RuntimeClasspathAdvancedDialog
SourceAttachmentBlock
VMArgumentsBlock
VMPreferencePage
WorkingDirectoryBlock
SelectImportsDialog
SnippedEditorPropertyPage
ConditionalBreakpointErrorDialog
DetailFormatterDialog
ErrorDialogWithToggle
JavaDebugAppearancePreferencePage
JavaDebugPreferencePage
JavaDebugFormattersPreferencePage
JavaStepFilterPreferencePage
WatchExpressionDialog
Comment 2 Tod Creasey CLA 2002-12-02 09:40:15 EST
public static applyDialogFont(Control control) has been added to Dialog. This 
can be called to apply the dialog font to the tree of a control whose font is 
the default font.

I could not hook this up by default because it causes some layout problems on 
many of the pages and dialogs we have if it is called after widget creation as 
sizing is frequently done in the creation code. We do not wish to generate any 
layout problems by the addition of this API.

I have also changed initializeBounds to use the dialog font for the 
calculations and not the font of the passed control. In the dialog provided by 
the workbench this will not do anything but for those dialogs provided by 
other components this will allow them to do the sizing before applying the 
dialog font.
Comment 3 Boris Pruessmann CLA 2002-12-20 03:34:38 EST
This is very annoying on MacOS X because the default font is quite big and the JDT 
preferences are nearly filling the whole screen. 
Comment 4 Darin Swanson CLA 2003-01-07 14:57:39 EST
*** Bug 22229 has been marked as a duplicate of this bug. ***
Comment 5 Darin Swanson CLA 2003-01-08 14:13:31 EST
Applied patch and updated the new classes that we have added since this bug was 
logged.

Please verify Jared
Comment 6 Jared Burns CLA 2003-01-08 18:12:18 EST
Verified.
Comment 7 Sebastian Davids CLA 2003-04-10 10:16:51 EDT
Version: 2.1.0
Build id: 200303272130

Java/Debug/Detail Formatter -- Label "Detail formatter code snipped defined for
selected type" does not use Dialog font.

Java/Installed JREs -- Label "Installed JREs" above table does not use dialog font.
Comment 8 Jared Burns CLA 2003-04-10 11:15:39 EDT
Fixed in JavaDetailFormattersPreferencePage and VMPreferencePage. Please
verify, DarinS.
Comment 9 Darin Swanson CLA 2003-04-10 12:05:33 EDT
Thanks Sebastian.
Verified.
Comment 10 Sebastian Davids CLA 2003-04-11 08:10:37 EDT
verified
Comment 11 Sebastian Davids CLA 2003-08-07 07:53:25 EDT
The "Installed JREs" pref page does not use the dialog font.
Comment 12 Darin Swanson CLA 2003-08-07 13:14:51 EDT
Thanks for the report Sebastian. 
Please do not hesitate to open new bug reports for these issues...makes the 
defects easier to track.

Fixed in InstalledJREsBlock and JREsPreferencePage.
Comment 13 Darin Swanson CLA 2003-08-07 13:15:06 EDT
Please verify Luc.
Comment 14 Luc Bourlier CLA 2003-08-08 11:41:24 EDT
Verified.
Comment 15 Sebastian Davids CLA 2003-08-14 10:45:08 EDT
verified