Kaydet (Commit) 79f5cb62 authored tarafından heiko tietze's avatar heiko tietze Kaydeden (comit) Heiko Tietze

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/39990Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@googlemail.com>
üst 8c82e487
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment