Kaydet (Commit) 04b02f2f authored tarafından Caolán McNamara's avatar Caolán McNamara

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

Change-Id: I4d947060815559f68cd200d8103868014ea6ac2d
üst 44460044
...@@ -244,6 +244,7 @@ void BackingWindow::initControls() ...@@ -244,6 +244,7 @@ void BackingWindow::initControls()
mpCreateLabel->SetControlForeground(aButtonsText); mpCreateLabel->SetControlForeground(aButtonsText);
Font aFont(mpCreateLabel->GetSettings().GetStyleSettings().GetLabelFont()); Font aFont(mpCreateLabel->GetSettings().GetStyleSettings().GetLabelFont());
aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier)); aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier));
aFont.SetWeight(WEIGHT_BOLD);
mpCreateLabel->SetControlFont(aFont); mpCreateLabel->SetControlFont(aFont);
mpHelpButton->SetControlForeground(aButtonsText); mpHelpButton->SetControlForeground(aButtonsText);
...@@ -276,6 +277,7 @@ void BackingWindow::setupButton( PushButton* pButton ) ...@@ -276,6 +277,7 @@ void BackingWindow::setupButton( PushButton* pButton )
// the buttons should have a bit bigger font // the buttons should have a bit bigger font
Font aFont(pButton->GetSettings().GetStyleSettings().GetPushButtonFont()); Font aFont(pButton->GetSettings().GetStyleSettings().GetPushButtonFont());
aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier)); aFont.SetSize(Size(0, aFont.GetSize().Height() * fMultiplier));
aFont.SetWeight(WEIGHT_BOLD);
pButton->SetControlFont(aFont); pButton->SetControlFont(aFont);
// color that fits the theme // color that fits the theme
......
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