diff --git a/clients/aurorae/src/lib/auroraetheme.cpp b/clients/aurorae/src/lib/auroraetheme.cpp index 0e4f38a215..b8ddc4a40b 100644 --- a/clients/aurorae/src/lib/auroraetheme.cpp +++ b/clients/aurorae/src/lib/auroraetheme.cpp @@ -467,6 +467,7 @@ THEME_CONFIG(titleEdgeRightMaximized) THEME_CONFIG(titleEdgeTopMaximized) THEME_CONFIG(titleBorderLeft) THEME_CONFIG(titleBorderRight) +THEME_CONFIG(titleHeight) #undef THEME_CONFIG diff --git a/clients/aurorae/src/lib/auroraetheme.h b/clients/aurorae/src/lib/auroraetheme.h index e22a3d1e90..a95af57215 100644 --- a/clients/aurorae/src/lib/auroraetheme.h +++ b/clients/aurorae/src/lib/auroraetheme.h @@ -101,6 +101,7 @@ class /*LIBAURORAE_EXPORT*/ AuroraeTheme : public QObject Q_PROPERTY(int titleEdgeTopMaximized READ titleEdgeTopMaximized NOTIFY themeChanged) Q_PROPERTY(int titleBorderRight READ titleBorderRight NOTIFY themeChanged) Q_PROPERTY(int titleBorderLeft READ titleBorderLeft NOTIFY themeChanged) + Q_PROPERTY(int titleHeight READ titleHeight NOTIFY themeChanged) Q_PROPERTY(QString decorationPath READ decorationPath NOTIFY themeChanged) Q_PROPERTY(QString minimizeButtonPath READ minimizeButtonPath NOTIFY themeChanged) Q_PROPERTY(QString maximizeButtonPath READ maximizeButtonPath NOTIFY themeChanged) @@ -158,6 +159,7 @@ public: int titleEdgeTopMaximized() const; int titleBorderLeft() const; int titleBorderRight() const; + int titleHeight() const; QString decorationPath() const; QString minimizeButtonPath() const; QString maximizeButtonPath() const; diff --git a/clients/aurorae/src/qml/aurorae.qml b/clients/aurorae/src/qml/aurorae.qml index 4f756f5dbf..d491d3f912 100644 --- a/clients/aurorae/src/qml/aurorae.qml +++ b/clients/aurorae/src/qml/aurorae.qml @@ -145,6 +145,7 @@ Decoration { horizontalAlignment: auroraeTheme.horizontalAlignment verticalAlignment: auroraeTheme.verticalAlignment elide: Text.ElideRight + height: auroraeTheme.titleHeight anchors { left: leftButtonGroup.right right: rightButtonGroup.left