]>
Commit | Line | Data |
---|---|---|
5cc47c02 | 1 | Index: vcl/unx/source/gdi/dtint.cxx |
2 | =================================================================== | |
3 | RCS file: /cvs/gsl/vcl/unx/source/gdi/dtint.cxx,v | |
4 | retrieving revision 1.16 | |
5 | diff -u -p -u -r1.16 dtint.cxx | |
6 | --- vcl/unx/source/gdi/dtint.cxx 28 May 2003 12:33:47 -0000 1.16 | |
7 | +++ vcl/unx/source/gdi/dtint.cxx 4 Nov 2003 10:57:57 -0000 | |
8 | @@ -573,7 +564,6 @@ void DtIntegrator::GetSystemLook( const | |
9 | aStyleSettings.SetAppFont( aFont ); | |
10 | aStyleSettings.SetHelpFont( aFont ); | |
11 | aStyleSettings.SetMenuFont( aFont ); | |
12 | - aStyleSettings.SetToolFont( aFont ); | |
13 | aStyleSettings.SetLabelFont( aFont ); | |
14 | aStyleSettings.SetInfoFont( aFont ); | |
15 | aStyleSettings.SetRadioCheckFont( aFont ); | |
16 | @@ -581,6 +571,13 @@ void DtIntegrator::GetSystemLook( const | |
17 | aStyleSettings.SetFieldFont( aFont ); | |
18 | aStyleSettings.SetIconFont( aFont ); | |
19 | aStyleSettings.SetGroupFont( aFont ); | |
20 | + | |
21 | + // We want the tool font to be slightly smaller, | |
22 | + // otherwise the ruler gets horribly bloated | |
23 | + long nHeight = aFont.GetHeight(); | |
24 | + nHeight = ( nHeight + 8 ) / 2; | |
25 | + aFont.SetHeight( nHeight ); | |
26 | + aStyleSettings.SetToolFont( aFont ); | |
27 | } | |
28 | break; | |
29 | case ToolbarIconSize: |