summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingwindow.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2013-12-13 17:41:04 +0100
committerJan Holesovsky <kendy@collabora.com>2013-12-13 17:41:04 +0100
commitcabd8725dbd2a1602c6e687788492e5177f5a3e9 (patch)
treee157b233ab5c53e0e202a4dfbe46fe10329d88e9 /sfx2/source/dialog/backingwindow.cxx
parent919c5e4bbeaafc707a668851feef7a4818c40f66 (diff)
startcenter: Move the 'Create' under the separator & add a colon.
Change-Id: Ie8a1ce8628fa0f31ae6d6a3f1303342c145e33aa
Diffstat (limited to 'sfx2/source/dialog/backingwindow.cxx')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 8ee2919cb7a1..f7a66fb869e0 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -59,6 +59,7 @@ const char TEMPLATE_URL[] = "slot:5500";
const char OPEN_URL[] = ".uno:Open";
const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess";
+const int nButtonsFontSize = 15;
const Color aButtonsBackground(114, 168, 84); // TDF green
const Color aButtonsText(COL_WHITE);
@@ -234,6 +235,9 @@ void BackingWindow::initControls()
// setup nice colors
mpCreateLabel->SetControlForeground(aButtonsText);
+ Font aFont(mpCreateLabel->GetControlFont());
+ aFont.SetHeight(nButtonsFontSize);
+ mpCreateLabel->SetControlFont(aFont);
mpHelpButton->SetControlForeground(aButtonsText);
mpExtensionsButton->SetControlForeground(aButtonsText);
@@ -261,7 +265,7 @@ void BackingWindow::setupButton( PushButton* pButton )
{
// the buttons should have a bit bigger font
Font aFont(pButton->GetControlFont());
- aFont.SetHeight(15);
+ aFont.SetHeight(nButtonsFontSize);
pButton->SetControlFont(aFont);
// color that fits the theme