tdf#109103 Non-standard font color in About dialog
Wallpaper in dialogs with fix font colors isn't a good idea Change-Id: Ie97ebe6fd7ed3a52bcdc78204d7190b0e5683eb3 Reviewed-on: https://gerrit.libreoffice.org/39990 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
This commit is contained in:
parent
8c82e48771
commit
79f5cb6209
1 changed files with 0 additions and 13 deletions
|
@ -190,19 +190,6 @@ void AboutDialog::StyleControls()
|
|||
// Description Text
|
||||
aLargeFont.SetFontSize(Size(0, aLabelFont.GetFontSize().Height() * 1.3));
|
||||
m_pDescriptionText->SetControlFont(aLargeFont);
|
||||
|
||||
// Version Text
|
||||
aLargeFont.SetFontSize(Size(0, aLabelFont.GetFontSize().Height() * 1.2));
|
||||
m_pVersion->SetControlFont(aLargeFont);
|
||||
|
||||
// If not in high-contrast mode, hard-code colors
|
||||
if (!rStyleSettings.GetHighContrastMode())
|
||||
{
|
||||
m_pLogoReplacement->SetControlForeground(Color(51, 51, 51));
|
||||
m_pVersion->SetControlForeground(Color(102, 102, 102));
|
||||
m_pDescriptionText->SetControlForeground(Color(51, 51, 51));
|
||||
m_pCopyrightText->SetControlForeground(Color(102, 102, 102));
|
||||
}
|
||||
}
|
||||
|
||||
void AboutDialog::SetLogo()
|
||||
|
|
Loading…
Reference in a new issue