diff options
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r-- | qml/mw-ui.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 13bc36f..27ec398 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -487,7 +487,7 @@ Rectangle { id: catHighlight Rectangle { width: 190 - height: 30 + height: Qt.application.font.pixelSize + 16 anchors.horizontalCenter: parent.horizontalCenter color: "#2397D4" y: categoriesList.currentItem.y; @@ -510,14 +510,15 @@ Rectangle { {'name':qsTr("Graphics"),'group': "graphics"}, {'name':qsTr("System"),'group': "system"}, {'name':qsTr("Programming"),'group': "programming"}] - height: 30 * 9 + height: (Qt.application.font.pixelSize + 16) * 9 delegate: Rectangle{ width: parent.width - height: 30 + height: Qt.application.font.pixelSize + 16 color:"#202397D4" Label {id: catLabel; + anchors.horizontalCenter: parent.horizontalCenter text: modelData.name ; - padding: 5 + padding: 7 color: categoriesList.currentIndex === index ? "white" : "black"} MouseArea { anchors.centerIn: parent |