Quickshell


ClippingWrapperRectangle: ClippingRectangle

import Quickshell.Widgets

This component is useful for adding a clipping border or background rectangle to a child item. If you don’t need clipping, use WrapperRectangle.

NOTE

ClippingWrapperRectangle 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.