Quickshell


WrapperRectangle: Rectangle

import Quickshell.Widgets

This component is useful for adding a border or background rectangle to a child item. If you need to clip the child item to the rectangle’s border, see ClippingWrapperRectangle.

NOTE

WrapperRectangle is a MarginWrapperManager based component. See its documentation for information on how margins and sizes are calculated.

WARNING

You should not set Go to Item.x, Go to Item.y, Go to Item.width, Go to Item.height or Go to Item.anchors on the child item, as they are used by WrapperItem to position it. Instead set Go to Item.implicitWidth and Go to Item.implicitHeight.