Bug 26994 - Find/Replace dialog does not honour dialog font
Summary: Find/Replace dialog does not honour dialog font
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 19346
  Show dependency tree
 
Reported: 2002-11-22 12:34 EST by Tod Creasey CLA
Modified: 2003-08-07 07:27 EDT (History)
0 users

See Also:


Attachments
now dialog font is adjusted (6.73 KB, patch)
2002-11-27 06:10 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 Tod Creasey CLA 2002-11-22 12:34:17 EST
20021115

The dialog font is not honoured by the Find/Replace dialog. You can get it by 
calling JFaceResources.getDialogFont().
Comment 1 Sebastian Davids CLA 2002-11-27 06:10:45 EST
Created attachment 2530 [details]
now dialog font is adjusted
Comment 2 Tod Creasey CLA 2002-12-02 09:39:37 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 Dani Megert CLA 2003-02-19 13:03:26 EST
Fixed and released to HEAD.
Available in builds > N20030219
Comment 4 Christof Marti CLA 2003-02-26 11:18:20 EST
start verifying