remove TODO, remove top corner radius for flyout
This commit is contained in:
parent
21c16592dd
commit
ed68b9fd93
3 changed files with 11 additions and 148 deletions
|
|
@ -28,22 +28,16 @@ PanelWindow {
|
|||
implicitWidth: label.implicitWidth + M.Theme.barPadding * 2
|
||||
implicitHeight: label.implicitHeight + M.Theme.barPadding * 2
|
||||
|
||||
// Background matching bar style
|
||||
// Background matching bar style — square top corners so it looks
|
||||
// flush / attached to the bar above, rounded bottom corners only
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: M.Theme.base00
|
||||
opacity: M.Theme.barOpacity
|
||||
radius: M.Theme.radius
|
||||
|
||||
// Cover the top rounded corners so the flyout
|
||||
// appears flush / attached to the bar above
|
||||
Rectangle {
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
height: parent.radius
|
||||
color: M.Theme.base00
|
||||
}
|
||||
topLeftRadius: 0
|
||||
topRightRadius: 0
|
||||
bottomLeftRadius: M.Theme.radius
|
||||
bottomRightRadius: M.Theme.radius
|
||||
}
|
||||
|
||||
Text {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue