Bug 26985

Summary: Dialog font not used by Compare preference page
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 19346    
Attachments:
Description Flags
fixes
none
fix none

Description Tod Creasey CLA 2002-11-22 12:25:30 EST
20021115

The dialog font is not honoured by the compare preference page. Preference 
pages have the dialog font set as the font of the control sent to 
createContents - you can just copy the font from the parent to the children 
you create.
Comment 1 Sebastian Davids CLA 2002-11-28 18:50:56 EST
Created attachment 2572 [details]
fixes

fixes:

InputPatchPage
PreviewPatchPage
ComparePreferancePage
AddFromHistoryDialog
EditionSelectionDialog
ContentMergeViewer
Comment 2 Sebastian Davids CLA 2002-11-28 22:30:02 EST
Created attachment 2576 [details]
fix

fixes:

ListDialog
Comment 3 Tod Creasey CLA 2002-12-02 09:37:56 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 4 Andre Weinand CLA 2003-01-20 06:26:07 EST

*** This bug has been marked as a duplicate of 27405 ***