forked from qt-creator/qt-creator
Utils: Add two fonts to StyleHelper::UIElement
Change-Id: I0b4ff271ef9fe91eb369c916ad886c7d39c2e060 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -961,6 +961,8 @@ static const UiFontMetrics& uiFontMetrics(StyleHelper::UiElement element)
|
||||
{StyleHelper::UiElementH6Capital, {12, 14, QFont::DemiBold}},
|
||||
{StyleHelper::UiElementCaptionStrong, {10, 12, QFont::DemiBold}},
|
||||
{StyleHelper::UiElementCaption, {10, 12, QFont::Normal}},
|
||||
{StyleHelper::UIElementIconStandard, {12, 16, QFont::Normal}},
|
||||
{StyleHelper::UIElementIconActive, {12, 16, QFont::DemiBold}},
|
||||
};
|
||||
QTC_ASSERT(metrics.count(element) > 0, return metrics.at(StyleHelper::UiElementCaptionStrong));
|
||||
return metrics.at(element);
|
||||
|
||||
Reference in New Issue
Block a user