checklist ideas.md, launcher rounding
This commit is contained in:
@@ -9,7 +9,7 @@ ShapePath {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property Wrapper wrapper
|
required property Wrapper wrapper
|
||||||
readonly property real rounding: Config.barConfig.rounding
|
readonly property real rounding: Config.barConfig.rounding + 5
|
||||||
readonly property bool flatten: wrapper.height < rounding * 2
|
readonly property bool flatten: wrapper.height < rounding * 2
|
||||||
readonly property real roundingY: flatten ? wrapper.height / 2 : rounding
|
readonly property real roundingY: flatten ? wrapper.height / 2 : rounding
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Item {
|
|||||||
anchors.right: parent?.right
|
anchors.right: parent?.right
|
||||||
|
|
||||||
StateLayer {
|
StateLayer {
|
||||||
radius: Appearance.rounding.normal
|
radius: 8
|
||||||
|
|
||||||
function onClicked(): void {
|
function onClicked(): void {
|
||||||
Apps.launch(root.modelData);
|
Apps.launch(root.modelData);
|
||||||
@@ -37,7 +37,7 @@ Item {
|
|||||||
id: icon
|
id: icon
|
||||||
|
|
||||||
source: Quickshell.iconPath(root.modelData?.icon, "image-missing")
|
source: Quickshell.iconPath(root.modelData?.icon, "image-missing")
|
||||||
implicitSize: parent.height * 0.8
|
implicitSize: parent.height
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user