2024-10-15 19:26:12 +00:00
|
|
|
import QtQuick 2.15
|
2022-09-21 13:00:35 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
id: root
|
|
|
|
|
2022-10-13 15:52:44 +00:00
|
|
|
z: 100 // NOTE: workaround for message overlay
|
2024-10-15 19:26:12 +00:00
|
|
|
implicitWidth: childrenRect.width + Theme.smallPadding * 2
|
2022-10-18 19:46:57 +00:00
|
|
|
implicitHeight: visible ? 24 : 0
|
2022-09-21 13:00:35 +00:00
|
|
|
radius: height / 2
|
|
|
|
border.width: 1
|
2024-10-15 19:26:12 +00:00
|
|
|
border.color: Theme.palette.directColor7
|
|
|
|
color: Theme.palette.transparent
|
2022-09-21 13:00:35 +00:00
|
|
|
}
|