aboutsummaryrefslogtreecommitdiffstats
path: root/Components
diff options
context:
space:
mode:
authorAurelian R <arusanu@gmail.com>2026-02-18 12:02:15 +0200
committerAurelian R <arusanu@gmail.com>2026-02-18 12:02:15 +0200
commit11061c258f4b2db2104a847e4effd58fcfa429e6 (patch)
treef20103266b1f19cace93778f7821340be2b7e370 /Components
parenta3754988d8af4db9162a82a4c693719dfbbfcd89 (diff)
downloadmga-coffee-11061c258f4b2db2104a847e4effd58fcfa429e6.tar
mga-coffee-11061c258f4b2db2104a847e4effd58fcfa429e6.tar.gz
mga-coffee-11061c258f4b2db2104a847e4effd58fcfa429e6.tar.bz2
mga-coffee-11061c258f4b2db2104a847e4effd58fcfa429e6.tar.xz
mga-coffee-11061c258f4b2db2104a847e4effd58fcfa429e6.zip
Lower the clock font, use round corners, and fix the default welcome message.
Diffstat (limited to 'Components')
-rwxr-xr-xComponents/ComboBox.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/Components/ComboBox.qml b/Components/ComboBox.qml
index d1aedb2..8ce9f99 100755
--- a/Components/ComboBox.qml
+++ b/Components/ComboBox.qml
@@ -27,6 +27,7 @@ import QtQuick 2.0
FocusScope {
id: container
width: 80; height: 30
+ property int radius: 0
property color color: "white"
property color borderColor: "#ababab"
@@ -70,6 +71,8 @@ FocusScope {
border.color: container.borderColor
border.width: container.borderWidth
+ radius: container.radius
+
states: [
State {
name: "hover"; when: mouseArea.containsMouse
@@ -99,7 +102,9 @@ FocusScope {
Rectangle {
id: arrow
anchors.right: parent.right
- width: 20 + 2*border.width; height: parent.height
+ anchors.verticalCenter: parent.verticalCenter
+ height: parent.height; width: height
+ radius: container.radius
border.color: main.border.color
border.width: main.border.width
@@ -152,6 +157,7 @@ FocusScope {
Rectangle {
id: dropDown
width: container.width; height: 0
+ radius: container.radius
anchors.top: container.bottom
anchors.topMargin: 0
@@ -165,6 +171,7 @@ FocusScope {
Rectangle {
width: dropDown.width; height: container.height - 2*container.borderWidth
color: "transparent"
+ radius: container.radius
Loader {
id: loader
@@ -196,6 +203,7 @@ FocusScope {
highlight: Rectangle {
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined;
color: container.hoverColor
+ radius: container.radius
}
}
@@ -206,6 +214,7 @@ FocusScope {
clip: false
border.color: main.border.color
border.width: main.border.width
+ radius: container.radius
}
states: [