-->
import Quickshell.Widgets
This component is useful for wrapping a single component in a mouse area. It works the same as WrapperItem, but with a MouseArea.
NOTE
WrapperMouseArea is a MarginWrapperManager based component. See its documentation for information on how margins and sizes are calculated.
NOTE
The child item can be specified by writing it inline in the wrapper, as in the example above, or by using the child property. See WrapperManager.child for details.
WARNING
You should not set Item.x, Item.y, Item.width, Item.height or Item.anchors on the child item, as they are used by WrapperItem to position it. Instead set Item.implicitWidth and Item.implicitHeight.
The requested bottom margin of the content item, not counting extraMargin.
Defaults to margin, and may be reset by assigning undefined
.
See WrapperManager.child for details.
An extra margin applied in addition to topMargin, bottomMargin, leftMargin, and rightMargin. Defaults to 0.
Overrides the implicit height of the wrapper.
Defaults to the implicit width of the content item plus its top and bottom margin,
and may be reset by assigning undefined
.
Overrides the implicit width of the wrapper.
Defaults to the implicit width of the content item plus its left and right margin,
and may be reset by assigning undefined
.
The requested left margin of the content item, not counting extraMargin.
Defaults to margin, and may be reset by assigning undefined
.
The default for topMargin, bottomMargin, leftMargin and rightMargin. Defaults to 0.
Determines if child item should be resized larger than its implicit size if the parent is resized larger than its implicit size. Defaults to true.
The requested right margin of the content item, not counting extraMargin.
Defaults to margin, and may be reset by assigning undefined
.
The requested top margin of the content item, not counting extraMargin.
Defaults to margin, and may be reset by assigning undefined
.