[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara caolanm at redhat.com
Thu Aug 7 10:14:50 PDT 2014


 sfx2/source/dialog/backingwindow.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 04b02f2f5a4f71198e0cb616404c4721c918afe6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Aug 7 18:11:25 2014 +0100

    Resolves: fdo#82043 use a bold font for the start-center buttons
    
    Change-Id: I4d947060815559f68cd200d8103868014ea6ac2d

diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 488bafd..1c356c9 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -244,6 +244,7 @@ void BackingWindow::initControls()
     mpCreateLabel->SetControlForeground(aButtonsText);
     Font aFont(mpCreateLabel->GetSettings().GetStyleSettings().GetLabelFont());
     aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier));
+    aFont.SetWeight(WEIGHT_BOLD);
     mpCreateLabel->SetControlFont(aFont);
 
     mpHelpButton->SetControlForeground(aButtonsText);
@@ -276,6 +277,7 @@ void BackingWindow::setupButton( PushButton* pButton )
     // the buttons should have a bit bigger font
     Font aFont(pButton->GetSettings().GetStyleSettings().GetPushButtonFont());
     aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier));
+    aFont.SetWeight(WEIGHT_BOLD);
     pButton->SetControlFont(aFont);
 
     // color that fits the theme


More information about the Libreoffice-commits mailing list