summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-08-14 09:28:47 +0200
committerJan Holesovsky <kendy@collabora.com>2014-08-14 19:43:34 +0200
commit8288aaa59a7df3f3632e98e824aef29a25b96b47 (patch)
tree87c415214d74f4e60a70cf647762f6315004a529
parent5a23c290b58bc8b637de55472f85b4b17dded026 (diff)
fdo#82043: Instead of the bold font, use a higher multiplifier.
This reverts commit 04b02f2f5a4f71198e0cb616404c4721c918afe6. Change-Id: Iac19a0ced09bc8372e3a572d57dd3ac33ece9191
-rw-r--r--sfx2/source/dialog/backingwindow.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 1c356c959087..83d3aade80ce 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -60,7 +60,7 @@ const char TEMPLATE_URL[] = "slot:5500";
const char OPEN_URL[] = ".uno:Open";
const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess";
-float fMultiplier = 1.2f;
+float fMultiplier = 1.4f;
const Color aButtonsBackground(114, 168, 84); // TDF green
const Color aButtonsText(COL_WHITE);
@@ -244,7 +244,6 @@ 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);
@@ -277,7 +276,6 @@ 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