forked from qt-creator/qt-creator
Utils: Align enum StyleHelper::UiElement with upcoming design system #2
This change "PanelTitle" to "Caption". It is supposed to not change the visual appearance. Change-Id: I3342e6c80d8ce11b7ab1ac40b4395c265e1e07ec Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -952,12 +952,11 @@ QFont StyleHelper::UiFont(UiElement element)
|
||||
font.setPointSizeF(font.pointSizeF() * 1.2);
|
||||
font.setBold(true);
|
||||
break;
|
||||
case UiElementPanelTitle: {
|
||||
case UiElementCaptionStrong:
|
||||
font.setPointSizeF(panelTitleSize);
|
||||
font.setBold(true);
|
||||
break;
|
||||
}
|
||||
case UiElementPanelSubtitle:
|
||||
case UiElementCaption:
|
||||
font.setPointSizeF(panelTitleSize);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user