Fix font size

pull/18/head
reionwong 4 years ago
parent 83322037f5
commit addb721cf8

@ -160,6 +160,7 @@ Item {
id: _actionText
anchors.centerIn: parent
color: rootItem.textColor
font.pointSize: rootItem.height ? rootItem.height / 3 : 1
text: {
var text = activeMenu
text = text.replace(/([^&]*)&(.)([^&]*)/g, function (match, p1, p2, p3) {

@ -87,7 +87,7 @@ void StatusBar::updateGeometry()
emit screenRectChanged();
}
QRect windowRect = QRect(rect.x(), rect.y(), rect.width(), 28);
QRect windowRect = QRect(rect.x(), rect.y(), rect.width(), 25);
setGeometry(windowRect);
updateViewStruts();

Loading…
Cancel
Save